1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s3:libsmb: Add missing newlines to logging messages

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-07 16:37:19 +12:00 committed by Andrew Bartlett
parent 956c7a2828
commit bba1613d55
4 changed files with 5 additions and 5 deletions

View 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",

View 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>";
}

View 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) {

View 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);