Revert "hack.. don't handle @"
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Oct 2016 06:35:35 +0000 (08:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 12:47:43 +0000 (13:47 +0100)
This reverts commit 1b0f390c2e142d57c32bbb5115e43fcaee0f75df.

source3/libsmb/cliconnect.c

index 445ed685a5d60f6ce54fae2b81fc75c5b9216ffa..f7acac39253eb364d55e1179d06be9ef7a324a95 100644 (file)
@@ -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;