From: Volker Lendecke Date: Mon, 5 Aug 2024 15:11:43 +0000 (+0200) Subject: libsmb: Modernize two DEBUGs X-Git-Tag: tdb-1.4.13~1375 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18d506f521ab0ea1b3869b675280883ade6b57a9;p=thirdparty%2Fsamba.git libsmb: Modernize two DEBUGs Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider --- diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index b10dbd56bdf..f40397a4eaf 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -468,7 +468,7 @@ bool cli_oem_change_password(struct cli_state *cli, const char *user, const char int rc; if (strlen(user) >= sizeof(fstring)-1) { - DEBUG(0,("cli_oem_change_password: user name %s is too long.\n", user)); + DBG_ERR("user name %s is too long.\n", user); return False; } @@ -532,8 +532,7 @@ bool cli_oem_change_password(struct cli_state *cli, const char *user, const char (char *)data, data_len, 0, /* data, length, max */ &rparam, &rprcnt, &rdata, &rdrcnt)) { - DEBUG(0,("cli_oem_change_password: Failed to send password change for user %s\n", - user )); + DBG_ERR("Failed to send password change for user %s\n", user); return False; }