debug: Fix blank line endings
authorVolker Lendecke <vl@samba.org>
Wed, 30 Jul 2014 09:35:43 +0000 (09:35 +0000)
committerMichael Adam <obnox@samba.org>
Thu, 31 Jul 2014 16:49:47 +0000 (18:49 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/util/debug.c

index 99ce441526b2f55928d8a53cefaa37d49cd6b0bd..9c1b76a52979e9c066f50f8489eee8475e2f8af7 100644 (file)
@@ -215,7 +215,7 @@ char *debug_list_class_names_and_levels(void)
        unsigned int i;
        /* prepare strings */
        for (i = 0; i < debug_num_classes; i++) {
-               buf = talloc_asprintf_append(buf, 
+               buf = talloc_asprintf_append(buf,
                                             "%s:%d%s",
                                             classname_table[i],
                                             DEBUGLEVEL_CLASS[i],
@@ -715,12 +715,12 @@ void check_log_size( void )
                if (state.fd > 2 && (fstat(state.fd, &st) == 0
                                     && st.st_size > maxlog)) {
                        char *name = NULL;
-                       
+
                        if (asprintf(&name, "%s.old", state.debugf ) < 0) {
                                return;
                        }
                        (void)rename(state.debugf, name);
-                       
+
                        if (!reopen_logs_internal()) {
                                /* We failed to reopen a log - continue using the old name. */
                                (void)rename(name, state.debugf);