diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 17:11:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 17:11:20 +0100 |
commit | 62c57cb4006ca8678ac5a94cdd1d31af3f9f0a21 (patch) | |
tree | 69385de7f3301219984bf2f8c43d9235bf86127f /libcli | |
parent | a1cc27814240bf50bd546dcfc8b80d3838a6a38d (diff) | |
download | samba-62c57cb4006ca8678ac5a94cdd1d31af3f9f0a21.tar.gz |
Remove use of global_loadparm when comparing nt status error - use
global variable instead.
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/util/ntstatus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h index bf03d51d022..fa4553df1e0 100644 --- a/libcli/util/ntstatus.h +++ b/libcli/util/ntstatus.h @@ -628,6 +628,9 @@ const char *get_nt_error_c_code(NTSTATUS nt_code); *****************************************************************************/ NTSTATUS nt_status_string_to_code(const char *nt_status_str); +/** Used by ntstatus_dos_equal: */ +extern bool ntstatus_check_dos_mapping; + #define NT_STATUS_IS_OK(x) (NT_STATUS_V(x) == 0) #define NT_STATUS_IS_ERR(x) ((NT_STATUS_V(x) & 0xc0000000) == 0xc0000000) /* checking for DOS error mapping here is ugly, but unfortunately the |