diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-08-31 08:15:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:56 -0500 |
commit | 626d3ad01293853fa815cf348f6dbc65b7a3a57e (patch) | |
tree | 58d8dc3b41f9ed9f04b9b461c4aacb00570172e5 /source4/torture | |
parent | 930edaaba75fe2112380f027e3f6d5626bea703c (diff) | |
download | samba-626d3ad01293853fa815cf348f6dbc65b7a3a57e.tar.gz samba-626d3ad01293853fa815cf348f6dbc65b7a3a57e.tar.bz2 samba-626d3ad01293853fa815cf348f6dbc65b7a3a57e.zip |
r17954: Avoid including \n in error strings (left over from DEBUG() conversion).
Make it easier to debug CrackNames failures.
Andrew Bartlett
(This used to be commit 5dd07074db0b25ea2e929bbdcf89f26e3665bd1c)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/testjoin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index fb3c6c3d2a..16060851b2 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -327,9 +327,9 @@ struct test_join *torture_join_domain(const char *machine_name, status = libnet_JoinDomain(libnet_ctx, libnet_r, libnet_r); if (!NT_STATUS_IS_OK(status)) { if (libnet_r->out.error_string) { - DEBUG(0, ("Domain join failed - %s.\n", libnet_r->out.error_string)); + DEBUG(0, ("Domain join failed - %s\n", libnet_r->out.error_string)); } else { - DEBUG(0, ("Domain join failed - %s.\n", nt_errstr(status))); + DEBUG(0, ("Domain join failed - %s\n", nt_errstr(status))); } talloc_free(tj); return NULL; |