1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r16456: return on error...

metze
This commit is contained in:
Stefan Metzmacher 2006-06-22 07:36:00 +00:00 committed by Gerald (Jerry) Carter
parent 316f3312d2
commit 44ab067d14

View File

@ -70,11 +70,13 @@ struct smbsrv_request;
DEBUG(0,("%s: buffer too small 0x%x. Expected 0x%x\n", \
__location__, is_size, want_size)); \
smb2srv_send_error(req, NT_STATUS_FOOBAR); \
return; \
}\
if (field_size != want_size) { \
DEBUG(0,("%s: unexpected fixed body size 0x%x. Expected 0x%x\n", \
__location__, field_size, want_size)); \
smb2srv_send_error(req, NT_STATUS_FOOBAR); \
return; \
} \
} while (0)