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:
parent
7948967c06
commit
5ffe6fd4cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user