1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

s3:nmbd: 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:46:18 +12:00 committed by Andrew Bartlett
parent e9882f8207
commit 4fef81f183
3 changed files with 6 additions and 6 deletions

View File

@ -322,7 +322,7 @@ bool queue_dns_query(struct packet_struct *p,struct nmb_name *question)
pull_ascii_nstring(qname, sizeof(qname), question->name);
DBG_NOTICE("DNS search for %s - ", nmb_namestr(question));
DBG_NOTICE("DNS search for %s -\n", nmb_namestr(question));
dns_ip.s_addr = interpret_addr(qname);

View File

@ -116,7 +116,7 @@ static bool nmbd_setup_sig_term_handler(struct messaging_context *msg)
nmbd_sig_term_handler,
msg);
if (!se) {
DBG_ERR("failed to setup SIGTERM handler");
DBG_ERR("failed to setup SIGTERM handler\n");
return false;
}
@ -179,7 +179,7 @@ static bool nmbd_setup_sig_hup_handler(struct messaging_context *msg)
nmbd_sig_hup_handler,
msg);
if (!se) {
DBG_ERR("failed to setup SIGHUP handler");
DBG_ERR("failed to setup SIGHUP handler\n");
return false;
}
@ -721,7 +721,7 @@ static bool open_sockets(bool isdaemon, int port)
if (!interpret_string_addr(&ss, sock_addr,
AI_NUMERICHOST|AI_PASSIVE)) {
DBG_ERR("open_sockets: unable to get socket address "
"from string %s", sock_addr);
"from string %s\n", sock_addr);
return false;
}
if (ss.ss_family != AF_INET) {

View File

@ -1665,7 +1665,7 @@ IP %s\n", nmb_namestr(question), inet_ntoa(from_ip) ));
if(question->name_type == 0x1d) {
DEBUG(3,("wins_process_multihomed_name_registration_request: Ignoring request \
to register name %s from IP %s.", nmb_namestr(question), inet_ntoa(p->ip) ));
to register name %s from IP %s.\n", nmb_namestr(question), inet_ntoa(p->ip) ));
send_wins_name_registration_response(0, ttl, p);
return;
}
@ -2178,7 +2178,7 @@ IP %s\n", releasing_group_name ? "Group" : "Unique", nmb_namestr(question), inet
if(!releasing_group_name && (question->name_type == 0x1d)) {
DEBUG(3,("wins_process_name_release_request: Ignoring request \
to release name %s from IP %s.", nmb_namestr(question), inet_ntoa(p->ip) ));
to release name %s from IP %s.\n", nmb_namestr(question), inet_ntoa(p->ip) ));
send_wins_name_release_response(0, p);
return;
}