diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:03:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:09:20 +0100 |
commit | fb5346f3bbbde389295bb56de3ab97df50ddc2ee (patch) | |
tree | 02185d24555ebce55ffa306bbe350acf365e80a0 | |
parent | 3131ca2340dcdb43257fe9a75c749c93f6931948 (diff) | |
download | samba-fb5346f3bbbde389295bb56de3ab97df50ddc2ee.tar.gz samba-fb5346f3bbbde389295bb56de3ab97df50ddc2ee.tar.xz samba-fb5346f3bbbde389295bb56de3ab97df50ddc2ee.zip |
s4:torture/util_smb: s/class/classnum
metze
-rw-r--r-- | source4/torture/util_smb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index 732b84af731..1c506942793 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -583,10 +583,10 @@ _PUBLIC_ bool check_error(const char *location, struct smbcli_state *c, status = smbcli_nt_error(c->tree); if (NT_STATUS_IS_DOS(status)) { - int class, num; - class = NT_STATUS_DOS_CLASS(status); + int classnum, num; + classnum = NT_STATUS_DOS_CLASS(status); num = NT_STATUS_DOS_CODE(status); - if (eclass != class || ecode != num) { + if (eclass != classnum || ecode != num) { printf("unexpected error code %s\n", nt_errstr(status)); printf(" expected %s or %s (at %s)\n", nt_errstr(NT_STATUS_DOS(eclass, ecode)), |