s3:utils: Add missing newlines to logging messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 7 Aug 2023 04:51:02 +0000 (16:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:38 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/utils/net_rpc.c
source3/utils/nmblookup.c
source3/utils/ntlm_auth.c

index a29db48ac476df9f6ad0705a73446f862b551906..45fea09d13d18eb86811786337d6e5caf55f4b44 100644 (file)
@@ -5089,7 +5089,7 @@ static bool get_user_tokens_from_file(FILE *f,
                        }
 
                        if (token == NULL) {
-                               DEBUG(0, ("File does not begin with username"));
+                               DEBUG(0, ("File does not begin with username\n"));
                                return false;
                        }
 
index a78967fdb886bd40315fcf6e6d1f748199fed73d..005daaba0d4017b5028932025bc5074dc6fe4776 100644 (file)
@@ -47,7 +47,7 @@ static bool open_sockets(void)
        if (!interpret_string_addr(&ss, sock_addr,
                                AI_NUMERICHOST|AI_PASSIVE)) {
                DEBUG(0,("open_sockets: unable to get socket address "
-                                       "from string %s", sock_addr));
+                                       "from string %s\n", sock_addr));
                return false;
        }
        ServerFD = open_socket_in(
index cff3c53845ffb1e097fb591bf72c8d983d28992e..f0f7345d62f7fe27918af070d6b5635d92721c1e 100644 (file)
@@ -196,7 +196,7 @@ static void manage_gensec_get_pw_request(enum stdio_helper_mode stdio_helper_mod
 {
        DATA_BLOB in;
        if (strlen(buf) < 2) {
-               DEBUG(1, ("query [%s] invalid", buf));
+               DEBUG(1, ("query [%s] invalid\n", buf));
                printf("BH Query invalid\n");
                return;
        }
@@ -1484,7 +1484,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
        }
 
        if (strlen(buf) < 2) {
-               DEBUG(1, ("query [%s] invalid", buf));
+               DEBUG(1, ("query [%s] invalid\n", buf));
                printf("BH Query invalid\n");
                talloc_free(mem_ctx);
                return;