mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Being tpot's janitor again.... checking in things only checked into HEAD.
We are meant to be keeping 3.0 up to date... Jeremy.
This commit is contained in:
parent
d030df7643
commit
a4c8c8f3b7
@ -685,9 +685,10 @@ BOOL smb_io_buffer5(char *desc, BUFFER5 *buf5, prs_struct *ps, int depth)
|
||||
if(!prs_uint32("buf_len", ps, depth, &buf5->buf_len))
|
||||
return False;
|
||||
|
||||
|
||||
if(!prs_buffer5(True, "buffer" , ps, depth, buf5))
|
||||
return False;
|
||||
if(buf5->buf_len) {
|
||||
if(!prs_buffer5(True, "buffer" , ps, depth, buf5))
|
||||
return False;
|
||||
}
|
||||
|
||||
return True;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user