Revert "hack.. don't handle @"
[metze/samba/wip.git] / 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;