1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n)

This commit is contained in:
Gerald Carter 2005-04-19 14:03:08 +00:00 committed by Gerald (Jerry) Carter
parent 81f30bf598
commit 97c68ec1e8

View File

@ -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));