mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
libcli: 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
731e233aca
commit
0e653af8d6
@ -205,7 +205,7 @@ static void dns_lookup_done(struct tevent_req *subreq)
|
||||
|
||||
if (i == state->num_nameservers) {
|
||||
/* should never happen */
|
||||
DBG_WARNING("Failed to find subreq");
|
||||
DBG_WARNING("Failed to find subreq\n");
|
||||
tevent_req_error(req, EINVAL);
|
||||
return;
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ static bool http_parse_response_line(struct http_read_response_state *state)
|
||||
}
|
||||
|
||||
if (code == 0) {
|
||||
DEBUG(0, ("%s: Bad response code '%d'", __func__, code));
|
||||
DEBUG(0, ("%s: Bad response code '%d'\n", __func__, code));
|
||||
status = false;
|
||||
goto error;
|
||||
}
|
||||
@ -330,7 +330,7 @@ static enum http_read_status http_parse_buffer(struct http_read_response_state *
|
||||
/* All read */
|
||||
return HTTP_ALL_DATA_READ;
|
||||
default:
|
||||
DEBUG(0, ("%s: Illegal parser state %d", __func__,
|
||||
DEBUG(0, ("%s: Illegal parser state %d\n", __func__,
|
||||
state->parser_state));
|
||||
break;
|
||||
}
|
||||
|
@ -1213,7 +1213,7 @@ reply:
|
||||
ndr_err = ndr_push_struct_blob(&out, state, &pipe_reply,
|
||||
(ndr_push_flags_fn_t)ndr_push_named_pipe_auth_rep);
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
DEBUG(2, ("Error encoding structure: %s",
|
||||
DEBUG(2, ("Error encoding structure: %s\n",
|
||||
ndr_map_error2string(ndr_err)));
|
||||
tevent_req_error(req, EIO);
|
||||
return;
|
||||
@ -1235,7 +1235,7 @@ reply:
|
||||
state->plain,
|
||||
&state->out_iov, 1);
|
||||
if (tevent_req_nomem(subreq, req)) {
|
||||
DEBUG(0, ("no memory for tstream_writev_send"));
|
||||
DEBUG(0, ("no memory for tstream_writev_send\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,7 @@ static NTSTATUS smb2cli_parse_symlink_error_response(
|
||||
|
||||
symlink_length = IVAL(buf, 0);
|
||||
if (symlink_length != (buflen-4)) {
|
||||
DBG_DEBUG("symlink_length=%"PRIu32", (buflen-4)=%zu",
|
||||
DBG_DEBUG("symlink_length=%"PRIu32", (buflen-4)=%zu\n",
|
||||
symlink_length, buflen-4);
|
||||
return NT_STATUS_INVALID_NETWORK_RESPONSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user