diff options
author | Tim Potter <tpot@samba.org> | 2003-01-14 05:25:08 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-14 05:25:08 +0000 |
commit | 3c235228636037b620169d1dff723332f57f4cfb (patch) | |
tree | 490c982c463817df1377ed95c864b1728cd692eb /source3 | |
parent | d1a0cc342f1e10e1c4d5b0e3671c49f0b658e7cb (diff) | |
download | samba-3c235228636037b620169d1dff723332f57f4cfb.tar.gz samba-3c235228636037b620169d1dff723332f57f4cfb.tar.bz2 samba-3c235228636037b620169d1dff723332f57f4cfb.zip |
Added comment about a SMB_ASSERT()
(This used to be commit 056bdfbce73bbd7ddaa198d18e596b94b2224d3d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 0b9f425bdc..a241744466 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1283,6 +1283,9 @@ BOOL cli_nt_session_open(struct cli_state *cli, const int pipe_idx) { int fnum; + /* At the moment we can't have more than one pipe open over + a cli connection. )-: */ + SMB_ASSERT(cli->nt_pipe_fnum == 0); /* The pipe index must fall within our array */ |