OSSP CVS Repository

ossp - Check-in [326]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 326
Date: 2001-Jan-19 16:08:26 (local)
2001-Jan-19 15:08:26 (UTC)
User:simons
Branch:
Comment: Added version information to the start-up log message.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/main.c      1.14 -> 1.15     4 inserted, 3 deleted

ossp-pkg/petidomo/main.c 1.14 -> 1.15

--- main.c       2001/01/19 15:01:19     1.14
+++ main.c       2001/01/19 15:08:26     1.15
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/main.c,v $
-   $Revision: 1.14 $
+   $Revision: 1.15 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -92,8 +92,9 @@
 
     /* Log a few helpful facts about this Petidomo instance. */
 
-    syslog(LOG_DEBUG, "Petidomo starting up; mode=%s, listname=%s, masterconf=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%d",
-           mode, listname, masterconfig_path, (g_is_approved) ? "true" : "false", getuid(), geteuid(), getgid(), getegid());
+    syslog(LOG_DEBUG, "%s starting up; mode=%s, listname=%s, masterconf=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%d",
+           (char *)petidomo_version.v_gnu, mode, listname, masterconfig_path, (g_is_approved) ? "true" : "false",
+           getuid(), geteuid(), getgid(), getegid());
 
     /* Init Petidomo's internal stuff. */
 

CVSTrac 2.0.1