git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f30bf
)
r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb...
author
Gerald Carter
<jerry@samba.org>
Tue, 19 Apr 2005 14:03:08 +0000
(14:03 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:39 +0000
(10:56 -0500)
source/client/client.c
patch
|
blob
|
history
diff --git
a/source/client/client.c
b/source/client/client.c
index be17488919df38f08ad368f97dca275a9dd678b3..9cb0d15a6847288bec15e94aa73207c4a64bc579 100644
(file)
--- a/
source/client/client.c
+++ b/
source/client/client.c
@@
-3472,6
+3472,8
@@
static int do_message_op(void)
if ( strlen(calling_name) != 0 )
set_global_myname( calling_name );
+ else
+ pstrcpy( calling_name, global_myname() );
if(poptPeekArg(pc)) {
pstrcpy(service,poptGetArg(pc));