lib/debug Add clarifying comments
authorAndrew Bartlett <abartlet@samba.org>
Tue, 2 Nov 2010 20:09:45 +0000 (07:09 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Nov 2010 07:37:04 +0000 (08:37 +0100)
lib/util/debug.c

index 789abe19c2a1dcaed1652d658c74f25f4f5003ab..845240fdb7a7d49fe3fb0c22c95a757eec293cbe 100644 (file)
@@ -46,8 +46,8 @@ static struct {
 
 /* state variables for the debug system */
 static struct {
-       int fd;
-       enum debug_logtype logtype;
+       int fd;   /* The log file handle */
+       enum debug_logtype logtype; /* The type of logging we are doing: eg stdout, file, stderr */
        const char *prog_name;
        bool reopening_logs;
 } state;