From 97c68ec1e86c1de44fa1ab6e5a9d7f58b2843a34 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 19 Apr 2005 14:03:08 +0000 Subject: [PATCH] r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n) --- source/client/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/client/client.c b/source/client/client.c index be17488919d..9cb0d15a684 100644 --- 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)); -- 2.47.3