summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/clitree.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
commit8e4ab747b02207671203d40cd2a78692da78faef (patch)
treec4ebd704ba8a88f67513a61f4e4e5e11e78d6132 /source4/libcli/raw/clitree.c
parentefacfb37fc0d7310c72c40bfed4b52ecaf365b11 (diff)
downloadsamba-8e4ab747b02207671203d40cd2a78692da78faef.tar.gz
samba-8e4ab747b02207671203d40cd2a78692da78faef.tar.bz2
samba-8e4ab747b02207671203d40cd2a78692da78faef.zip
more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
Diffstat (limited to 'source4/libcli/raw/clitree.c')
-rw-r--r--source4/libcli/raw/clitree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c
index a088ae7023..1e9104308e 100644
--- a/source4/libcli/raw/clitree.c
+++ b/source4/libcli/raw/clitree.c
@@ -121,7 +121,6 @@ NTSTATUS smb_tree_connect_recv(struct cli_request *req, TALLOC_CTX *mem_ctx, uni
case RAW_TCON_TCONX:
ZERO_STRUCT(parms->tconx.out);
- CLI_CHECK_MIN_WCT(req, 0); /* this depends on the protocol level */
parms->tconx.out.cnum = SVAL(req->in.hdr, HDR_TID);
if (req->in.wct >= 4) {
parms->tconx.out.options = SVAL(req->in.vwv, VWV(3));
@@ -245,7 +244,6 @@ NTSTATUS cli_tree_full_connection(struct cli_tree **ret_tree,
mem_ctx = talloc_init("tcon");
if (!mem_ctx) {
- cli_tree_close(tree);
return NT_STATUS_NO_MEMORY;
}