diff options
author | Jeremy Allison <jra@samba.org> | 2009-06-04 12:47:17 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-06-04 12:47:17 -0700 |
commit | 73e3c85abac706be0a1836f3a4375ab379eceb86 (patch) | |
tree | f21283fb1b73b92b83acf4164b0694b4183d3b20 /source3/include | |
parent | 930ea7c8a8879e98826ffdc391bab8b5a2864c5f (diff) | |
download | samba-73e3c85abac706be0a1836f3a4375ab379eceb86.tar.gz samba-73e3c85abac706be0a1836f3a4375ab379eceb86.tar.bz2 samba-73e3c85abac706be0a1836f3a4375ab379eceb86.zip |
Change smbd_smb2_request_error() to add a __location__.
This allows quick identification of smb2 parsing errors.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_macros.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 7528883c2d..6dd9cab711 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -339,4 +339,7 @@ extern const char toupper_ascii_fast_table[]; #define toupper_ascii_fast(c) toupper_ascii_fast_table[(unsigned int)(c)]; #endif +#define smbd_smb2_request_error(req, status) \ + smbd_smb2_request_error_((req), (status), __location__) + #endif /* _SMB_MACROS_H */ |