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:
parent
956c7a2828
commit
bba1613d55
@ -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",
|
||||
|
@ -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>";
|
||||
}
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user