diff options
author | David Disseldorp <ddiss@samba.org> | 2012-01-23 12:18:20 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-01-23 12:18:20 -0800 |
commit | af6bf7714d8eb4cd3ac4e9f9ab674326e74c6a49 (patch) | |
tree | d62a721f9fad9513a964595c34b9f13bb755fd8a /libcli/dns | |
parent | ec094bf9ac144daf3bad31e71d6bee9849e0149a (diff) | |
download | samba-af6bf7714d8eb4cd3ac4e9f9ab674326e74c6a49.tar.gz samba-af6bf7714d8eb4cd3ac4e9f9ab674326e74c6a49.tar.bz2 samba-af6bf7714d8eb4cd3ac4e9f9ab674326e74c6a49.zip |
lib: use differing NTSTATUS and WERROR struct members
This allows the compiler to catch uses of incorrectly typed arguments
for [NT_STATUS|W_ERROR]_IS_OK() and [NT_STATUS|W_ERROR]_EQUAL(). I.e.
WERROR werr;
werr = my_fn(); /* XXX returns WERROR type */
if (NT_STATUS_EQUAL(werr, NT_STATUS_OBJECT_NAME_COLLISION)) {
Diffstat (limited to 'libcli/dns')
0 files changed, 0 insertions, 0 deletions