summaryrefslogtreecommitdiffstats
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
commitdca433d035dfb6e94ee659477c71edaa4549644d (patch)
tree2b6825af091c75e0ba57a0255488d78c23454716
parentfbb3bf12df5c79cac9445be21f1997234479b472 (diff)
downloadsamba-dca433d035dfb6e94ee659477c71edaa4549644d.tar.gz
samba-dca433d035dfb6e94ee659477c71edaa4549644d.tar.xz
samba-dca433d035dfb6e94ee659477c71edaa4549644d.zip
fixed srvstr_push() call
-rw-r--r--source/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 56a528b8166..55e6fb5255d 100644
--- a/source/smbd/reply.c
+++ b/source/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))) {