diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-20 22:17:16 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-21 09:58:20 +0100 |
commit | addf598cde41d17ad4cf497a64b9a2b27e4028c5 (patch) | |
tree | 11b020444f0728e1745e2e2af29b81b55d8fc467 /source3/libsmb | |
parent | eeb92cedde4bc45603be4fdcf2f53dd2cc29f1d0 (diff) | |
download | samba-addf598cde41d17ad4cf497a64b9a2b27e4028c5.tar.gz samba-addf598cde41d17ad4cf497a64b9a2b27e4028c5.tar.bz2 samba-addf598cde41d17ad4cf497a64b9a2b27e4028c5.zip |
Some C++ warnings
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 1a6fb8f93f..0544b3d879 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -471,7 +471,7 @@ struct cli_state *cli_initialise(void) cli->inbuf = (char *)SMB_MALLOC(cli->bufsize+SAFETY_MARGIN); cli->oplock_handler = cli_oplock_ack; cli->case_sensitive = False; - cli->smb_rw_error = 0; + cli->smb_rw_error = SMB_READ_OK; cli->use_spnego = lp_client_use_spnego(); @@ -606,7 +606,7 @@ void cli_shutdown(struct cli_state *cli) close(cli->fd); } cli->fd = -1; - cli->smb_rw_error = 0; + cli->smb_rw_error = SMB_READ_OK; SAFE_FREE(cli); } |