summaryrefslogtreecommitdiffstats
path: root/lib/util/debug.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-29 10:23:04 +0000
committerMichael Adam <obnox@samba.org>2014-07-31 18:49:46 +0200
commitd8cb678bb65b2f5616122e68ee3d2d76fb88ddd2 (patch)
treec2662907e42f647868bc8a8e2ebd663c11fdcd57 /lib/util/debug.c
parentd997d93af1dadb8bc1342a58b5733bfb495764a6 (diff)
downloadsamba-d8cb678bb65b2f5616122e68ee3d2d76fb88ddd2.tar.gz
samba-d8cb678bb65b2f5616122e68ee3d2d76fb88ddd2.tar.xz
samba-d8cb678bb65b2f5616122e68ee3d2d76fb88ddd2.zip
debug: Fix indentation in debug_parse_params
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/util/debug.c')
-rw-r--r--lib/util/debug.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 77d485f62a..d1d4888cdc 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -365,16 +365,17 @@ static bool debug_parse_params(char **params)
for (ndx = DBGC_ALL; ndx < debug_num_classes; ndx++) {
DEBUGLEVEL_CLASS[ndx] = DEBUGLEVEL_CLASS[DBGC_ALL];
}
-
+
/* Fill in new debug class levels */
for (; i < debug_num_classes && params[i]; i++) {
char *saveptr;
if ((class_name = strtok_r(params[i],":", &saveptr)) &&
- (class_level = strtok_r(NULL, "\0", &saveptr)) &&
- ((ndx = debug_lookup_classname(class_name)) != -1)) {
- DEBUGLEVEL_CLASS[ndx] = atoi(class_level);
+ (class_level = strtok_r(NULL, "\0", &saveptr)) &&
+ ((ndx = debug_lookup_classname(class_name)) != -1)) {
+ DEBUGLEVEL_CLASS[ndx] = atoi(class_level);
} else {
- DEBUG(0,("debug_parse_params: unrecognized debug class name or format [%s]\n", params[i]));
+ DEBUG(0,("debug_parse_params: unrecognized debug "
+ "class name or format [%s]\n", params[i]));
return false;
}
}