[BACK]Return to logging.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/logging.c between version 1.18 and 1.19

version 1.18, 2007/08/15 14:22:39 version 1.19, 2007/12/03 15:09:47
Line 60 
Line 60 
 #include "sudo.h"  #include "sudo.h"
   
 #ifndef lint  #ifndef lint
 __unused static const char rcsid[] = "$Sudo: logging.c,v 1.168.2.12 2007/08/08 20:07:45 millert Exp $";  __unused static const char rcsid[] = "$Sudo: logging.c,v 1.168.2.13 2007/11/25 13:07:38 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 static void do_syslog           __P((int, char *));  static void do_syslog           __P((int, char *));
Line 370 
Line 370 
     va_start(ap);      va_start(ap);
 #endif  #endif
   
     /* Become root if we are not already to avoid user control */      /* Become root if we are not already to avoid user interference */
     if (geteuid() != 0)      set_perms(PERM_ROOT);
         set_perms(PERM_ROOT);  
   
     /* Expand printf-style format + args. */      /* Expand printf-style format + args. */
     evasprintf(&message, fmt, ap);      evasprintf(&message, fmt, ap);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19