git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "hack.. don't handle @"
[metze/samba/wip.git]
/
source3
/
libsmb
/
cliconnect.c
diff --git
a/source3/libsmb/cliconnect.c
b/source3/libsmb/cliconnect.c
index 445ed685a5d60f6ce54fae2b81fc75c5b9216ffa..f7acac39253eb364d55e1179d06be9ef7a324a95 100644
(file)
--- 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;