diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-08 10:52:22 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-08 14:09:09 +0200 |
commit | 235aedae5030dac138fbaa5726022f5007586cd2 (patch) | |
tree | 5acf9987d1e94a2905d292d7c713198dab1fa170 /source3/libsmb/clientgen.c | |
parent | 0342b69f36acdb9418f4b85ed48f3c6b78ef553f (diff) | |
download | samba-235aedae5030dac138fbaa5726022f5007586cd2.tar.gz samba-235aedae5030dac138fbaa5726022f5007586cd2.tar.bz2 samba-235aedae5030dac138fbaa5726022f5007586cd2.zip |
s3:libsmb: don't use the cli->inbuf to store the last error
We keep the raw error in cli->raw_status now, until we fixed all
caller to get the NTSTATUS from the function calls.
metze
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 676e48205e..e874a8983c 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -193,6 +193,7 @@ struct cli_state *cli_initialise_ex(int signing_state) } cli->port = 0; cli->fd = -1; + cli->raw_status = NT_STATUS_INTERNAL_ERROR; cli->cnum = -1; cli->pid = (uint16)sys_getpid(); cli->mid = 1; |