summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-04 07:28:41 +0000
committerTim Potter <tpot@samba.org>2001-05-04 07:28:41 +0000
commit5ffe6fd4cd1afd28d2c595b278bd3be9f5df70f2 (patch)
treeeb24299e037672f79251d8429f4281a3c4f10b19 /source3/libsmb
parent7948967c063cc5b0f6df5efe233f4f7857f918c4 (diff)
downloadsamba-5ffe6fd4cd1afd28d2c595b278bd3be9f5df70f2.tar.gz
samba-5ffe6fd4cd1afd28d2c595b278bd3be9f5df70f2.tar.bz2
samba-5ffe6fd4cd1afd28d2c595b278bd3be9f5df70f2.zip
Zero fnum when initialising a cli_state.
(This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 8d4a025fcc..8e00bca82a 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -233,6 +233,8 @@ struct cli_state *cli_initialise(struct cli_state *cli)
memset(cli->outbuf, '\0', cli->bufsize);
memset(cli->inbuf, '\0', cli->bufsize);
+ cli->nt_pipe_fnum = 0;
+
cli->initialised = 1;
return cli;