summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-15 05:52:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:24 -0500
commitbaa62e5637b24bccbfe41fc5ec8e4eafc0b92191 (patch)
treee396b1da3582334281264a226450b05cd635356a
parent90e27768eff17c321cad64fd834bc23f5c74df29 (diff)
downloadsamba-baa62e5637b24bccbfe41fc5ec8e4eafc0b92191.tar.gz
samba-baa62e5637b24bccbfe41fc5ec8e4eafc0b92191.tar.bz2
samba-baa62e5637b24bccbfe41fc5ec8e4eafc0b92191.zip
r14434: use the right enum type
(This used to be commit 507def57cb83a3e12a3c8d60eb833fe47e9ec9e8)
-rw-r--r--source4/libcli/smb2/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c
index 9fe9ad12fa..1f3e2f54e4 100644
--- a/source4/libcli/smb2/request.c
+++ b/source4/libcli/smb2/request.c
@@ -124,7 +124,7 @@ NTSTATUS smb2_request_destroy(struct smb2_request *req)
DLIST_REMOVE(req->transport->pending_recv, req);
}
- if (req->state == SMBCLI_REQUEST_ERROR &&
+ if (req->state == SMB2_REQUEST_ERROR &&
NT_STATUS_IS_OK(req->status)) {
req->status = NT_STATUS_INTERNAL_ERROR;
}