mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
added filename to error_packet()
This commit is contained in:
@@ -135,12 +135,12 @@
|
||||
/* these are the datagram types */
|
||||
#define DGRAM_DIRECT_UNIQUE 0x10
|
||||
|
||||
#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__)
|
||||
#define ERROR_DOS(class,code) error_packet(outbuf,NT_STATUS_OK,class,code,__LINE__,__FILE__)
|
||||
#define ERROR_NT(status) error_packet(outbuf,status,0,0,__LINE__,__FILE__)
|
||||
#define ERROR_BOTH(status,class,code) error_packet(outbuf,status,class,code,__LINE__,__FILE__)
|
||||
|
||||
/* this is how errors are generated */
|
||||
#define UNIXERROR(defclass,deferror) unix_error_packet(outbuf,defclass,deferror,__LINE__)
|
||||
#define UNIXERROR(defclass,deferror) unix_error_packet(outbuf,defclass,deferror,__LINE__,__FILE__)
|
||||
|
||||
#define SMB_ROUNDUP(x,g) (((x)+((g)-1))&~((g)-1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user