summaryrefslogtreecommitdiff
path: root/source3/stf/standardcheck.py
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-01-23 12:18:20 -0800
committerJeremy Allison <jra@samba.org>2012-01-23 12:18:20 -0800
commitaf6bf7714d8eb4cd3ac4e9f9ab674326e74c6a49 (patch)
treed62a721f9fad9513a964595c34b9f13bb755fd8a /source3/stf/standardcheck.py
parentec094bf9ac144daf3bad31e71d6bee9849e0149a (diff)
downloadsamba-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 'source3/stf/standardcheck.py')
0 files changed, 0 insertions, 0 deletions