1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00

started converting NTSTATUS to be a structure on systems with gcc in order to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs

This commit is contained in:
Andrew Tridgell
-
parent 83d9896c1e
commit 1b778bc7d2
18 changed files with 1504 additions and 634 deletions

View File

@@ -135,7 +135,7 @@
/* these are the datagram types */
#define DGRAM_DIRECT_UNIQUE 0x10
#define ERROR_DOS(class,code) error_packet(outbuf,0,class,code,__LINE__)
#define ERROR_DOS(class,code) error_packet(outbuf,NT_STATUS_OK,class,code,__LINE__)
#define ERROR_NT(status) error_packet(outbuf,status,0,0,__LINE__)
#define ERROR_BOTH(status,class,code) error_packet(outbuf,status,class,code,__LINE__)