OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/main.c versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/main.c 1.11 -> 1.12

--- main.c       2001/01/19 13:05:13     1.11
+++ main.c       2001/01/19 14:09:48     1.12
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/main.c,v $
-   $Revision: 1.11 $
+   $Revision: 1.12 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -103,6 +103,11 @@
         exit(1);
     }
 
+    /* Log a few helpful facts about this Petidomo instance. */
+
+    syslog(LOG_DEBUG, "Petidomo starting up; mode=%s, listname=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%s",
+           mode, listname, (g_is_approved) ? "true" : "false", getuid(), geteuid(), getgid(), getegid());
+
     /* Now decide what we actually do with the mail. */
 
     if (strcasecmp("listserv", mode) == 0)

CVSTrac 2.0.1