diff options
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 3dd53581aa..394a749bc3 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -50,7 +50,7 @@ static void cmd_quit(struct client_info *info); static struct cli_state smbcli; struct cli_state *smb_cli = &smbcli; -FILE *out_hnd = stdout; +FILE *out_hnd; /**************************************************************************** initialise smb client structure @@ -404,6 +404,8 @@ enum client_action pstring password; /* local copy only, if one is entered */ + out_hnd = stdout; + rpcclient_init(); #ifdef KANJI |