1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

fixed srvstr_push() call

(This used to be commit dca433d035dfb6e94ee659477c71edaa4549644d)
This commit is contained in:
Andrew Tridgell 2001-03-13 23:25:48 +00:00
parent 18b7efe9b3
commit be8a6ea511

View File

@ -1873,7 +1873,7 @@ int reply_ctemp(connection_struct *conn, char *inbuf,char *outbuf, int dum_size,
SSVAL(outbuf,smb_vwv0,fsp->fnum);
CVAL(smb_buf(outbuf),0) = 4;
p = smb_buf(outbuf) + 1;
p += srvstr_push(inbuf, outbuf, p, fname2, -1, STR_TERMINATE|STR_CONVERT);
p += srvstr_push(outbuf, p, fname2, -1, STR_TERMINATE|STR_CONVERT);
set_message_end(outbuf, p);
if (oplock_request && lp_fake_oplocks(SNUM(conn))) {