summaryrefslogtreecommitdiff
path: root/lib/util/debug.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-11-03 07:09:45 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-11-24 08:37:04 +0100
commit58920aab0237aaa9f4a81577800bddba97e279a5 (patch)
treeea90653adb22bc5d5922094d99227edd2605194d /lib/util/debug.c
parentef46298c6504ab2f5a84295a700e945c6d779eff (diff)
downloadsamba-58920aab0237aaa9f4a81577800bddba97e279a5.tar.gz
samba-58920aab0237aaa9f4a81577800bddba97e279a5.tar.bz2
samba-58920aab0237aaa9f4a81577800bddba97e279a5.zip
lib/debug Add clarifying comments
Diffstat (limited to 'lib/util/debug.c')
-rw-r--r--lib/util/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 789abe19c2..845240fdb7 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -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;