git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1da72
)
Revert "hack.. don't handle @"
author
Stefan Metzmacher
<metze@samba.org>
Wed, 5 Oct 2016 06:35:35 +0000
(08:35 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 18 Feb 2019 12:47:43 +0000
(13:47 +0100)
This reverts commit
1b0f390c2e142d57c32bbb5115e43fcaee0f75df
.
source3/libsmb/cliconnect.c
patch
|
blob
|
history
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;