summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-13 23:25:48 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-13 23:25:48 +0000
commitbe8a6ea511b131aa065ffc51cf69811a4c3a76a6 (patch)
treee5b2fd0438b585a67a79da1c26eb4a8c11db0967 /source3
parent18b7efe9b302d8cb83ca2ae2e4a8d6329de5d39e (diff)
downloadsamba-be8a6ea511b131aa065ffc51cf69811a4c3a76a6.tar.gz
samba-be8a6ea511b131aa065ffc51cf69811a4c3a76a6.tar.bz2
samba-be8a6ea511b131aa065ffc51cf69811a4c3a76a6.zip
fixed srvstr_push() call
(This used to be commit dca433d035dfb6e94ee659477c71edaa4549644d)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 56a528b816..55e6fb5255 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -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))) {