1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Zero fnum when initialising a cli_state.

(This used to be commit 5a387f59c4)
This commit is contained in:
Tim Potter 2001-05-04 07:28:41 +00:00
parent 7948967c06
commit 5ffe6fd4cd

View File

@ -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;