]> granicus.if.org Git - sudo/commitdiff
Update comments about syslog name tables
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 24 Aug 1999 17:45:05 +0000 (17:45 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 24 Aug 1999 17:45:05 +0000 (17:45 +0000)
version.c

index f690106cef25ee6174620cb061edb72607fbf2f6..01e1da4a8c1a99607ef24ad41821d6039c3d3cbc 100644 (file)
--- a/version.c
+++ b/version.c
@@ -47,8 +47,6 @@
 #include <sys/types.h>
 #include <sys/param.h>
 
-/* XXX - configure needs to check for the tables */
-/* XXX   most OS's don't have the tables! */
 #define SYSLOG_NAMES
 
 #include "sudo.h"
@@ -225,6 +223,11 @@ print_version()
 }
 
 #if (LOGGING & SLOG_SYSLOG) && defined(HAVE_SYSLOG_NAMES)
+/*
+ * Convert a syslog number to a name.  At some point in the
+ * future, sudo will have its own tables internally so syslog
+ * can be configured at run time.
+ */
 static char *
 num_to_name(num, table)
     int num;