diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index be17488919..9cb0d15a68 100644 --- a/source3/client/client.c +++ b/source3/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)); |