summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 11:00:08 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:09:08 +0100
commit87ce6b198ac394f6f683ef125d59c1b18becbc19 (patch)
treef79754a81851a2c598beb93a19018a4ddc5bb06b
parentd9c30894a1cb3d0814ba281dd6e9f5ca63c987d5 (diff)
downloadsamba-87ce6b198ac394f6f683ef125d59c1b18becbc19.tar.gz
samba-87ce6b198ac394f6f683ef125d59c1b18becbc19.tar.bz2
samba-87ce6b198ac394f6f683ef125d59c1b18becbc19.zip
s4:libcli/raw: s/class/eclass
metze
-rw-r--r--source4/libcli/raw/clitransport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index 1fa27e37ea..5cf0272e88 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -450,12 +450,12 @@ static NTSTATUS smbcli_transport_finish_recv(void *private_data, DATA_BLOB blob)
smb_setup_bufinfo(req);
if (!(req->flags2 & FLAGS2_32_BIT_ERROR_CODES)) {
- int class = CVAL(req->in.hdr,HDR_RCLS);
+ int eclass = CVAL(req->in.hdr,HDR_RCLS);
int code = SVAL(req->in.hdr,HDR_ERR);
- if (class == 0 && code == 0) {
+ if (eclass == 0 && code == 0) {
transport->error.e.nt_status = NT_STATUS_OK;
} else {
- transport->error.e.nt_status = NT_STATUS_DOS(class, code);
+ transport->error.e.nt_status = NT_STATUS_DOS(eclass, code);
}
} else {
transport->error.e.nt_status = NT_STATUS(IVAL(req->in.hdr, HDR_RCLS));