]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libsmb: Add missing newlines to logging messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 7 Aug 2023 04:37:19 +0000 (16:37 +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/libsmb/clidfs.c
source3/libsmb/cliprint.c
source3/libsmb/libsmb_path.c
source3/libsmb/libsmb_server.c

index 4321c2164733819eb08642de160cfd674ee1f7fe..04c82e825752bacaba82458c0704b18e6e51ac9a 100644 (file)
@@ -182,7 +182,7 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
 
        if (!NT_STATUS_IS_OK(status)) {
                if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) {
-                       DBG_ERR("NetBIOS support disabled, unable to connect");
+                       DBG_ERR("NetBIOS support disabled, unable to connect\n");
                }
 
                DBG_WARNING("Connection to %s failed (Error %s)\n",
index c4ee3420e733f5056d3276cc1e07c2e238af77f8..2e51dabdf32950628a5e993bebe6f5b2b10285f9 100644 (file)
@@ -41,7 +41,7 @@ static const char *fix_char_ptr(unsigned int datap, unsigned int converter,
        offset = datap - converter;
 
        if (offset >= rdrcnt) {
-               DEBUG(1,("bad char ptr: datap=%u, converter=%u rdrcnt=%d>",
+               DEBUG(1,("bad char ptr: datap=%u, converter=%u rdrcnt=%d>\n",
                         datap, converter, rdrcnt));
                return "<ERROR>";
        }
index 9d4599acf5781b437a87e8da96fd2277743bad44..d53c772174c37de4d098fd1cee142dc71851caba 100644 (file)
@@ -262,7 +262,7 @@ SMBC_parse_path(TALLOC_CTX *ctx,
        /* Watch the test below, we are testing to see if we should exit */
 
        if (strncmp(p, "//", 2) && strncmp(p, "\\\\", 2)) {
-                DEBUG(1, ("Invalid path (does not begin with smb://"));
+                DEBUG(1, ("Invalid path (does not begin with smb://\n"));
                return -1;
        }
 
@@ -273,7 +273,7 @@ SMBC_parse_path(TALLOC_CTX *ctx,
                 /* There are options.  Null terminate here and point to them */
                 *q++ = '\0';
 
-                DEBUG(4, ("Found options '%s'", q));
+                DEBUG(4, ("Found options '%s'\n", q));
 
                /* Copy the options */
                if (pp_options && *pp_options != NULL) {
index 1e8e5aec25329e467909efb3624fcfbbafd61a2b..a65f0f356c34f3d57d702d4331cfcaed047108d7 100644 (file)
@@ -546,7 +546,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
 
        if (!NT_STATUS_IS_OK(status)) {
                if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) {
-                       DBG_ERR("NetBIOS support disabled, unable to connect");
+                       DBG_ERR("NetBIOS support disabled, unable to connect\n");
                }
 
                errno = map_errno_from_nt_status(status);