From d3a258a26eeee10ccde89533ed47d2da353d9287 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 5 Oct 2016 08:35:35 +0200 Subject: [PATCH] Revert "hack.. don't handle @" This reverts commit 1b0f390c2e142d57c32bbb5115e43fcaee0f75df. --- source3/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 445ed685a5d6..f7acac39253e 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1339,7 +1339,7 @@ static char *cli_session_setup_get_account(TALLOC_CTX *mem_ctx, return NULL; } p = strchr_m(account, '@'); - if (0 && p != NULL) { + if (p != NULL) { *p = '\0'; } return account; -- 2.34.1