Update of /cvsroot/mahogany/M/lib/dspam/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19217/tools

Modified Files:
        dspam_stats.c 
Log Message:
resolved merge conflicts with latest imported snapshot

Index: dspam_stats.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/dspam/tools/dspam_stats.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- dspam_stats.c       7 Jul 2004 23:43:00 -0000       1.2
+++ dspam_stats.c       10 Jul 2004 16:26:02 -0000      1.3
@@ -38,5 +38,5 @@
 #include "config.h"
 
-#include "../libdspam.h"
+#include "libdspam.h"
 
 #define TSYNTAX        "syntax: dspam_stats [username]"
@@ -58,4 +58,13 @@
 #endif
 
+#ifndef _WIN32
+  struct passwd *p = getpwuid (getuid ());
+                                                                                
+  if (!_ds_is_trusted(p)) {
+    fprintf(stderr, "Only trusted users may run this utility.\n");
+    exit(EXIT_FAILURE);
+  }
+#endif
+
   open_ctx = open_mtx = NULL;
 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to