From 5ffe6fd4cd1afd28d2c595b278bd3be9f5df70f2 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 4 May 2001 07:28:41 +0000 Subject: Zero fnum when initialising a cli_state. (This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451) --- source3/libsmb/clientgen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/libsmb') 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; -- cgit