r25502: Fix bug 5006
authorVolker Lendecke <vlendec@samba.org>
Thu, 4 Oct 2007 13:13:16 +0000 (13:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:31:10 +0000 (12:31 -0500)
Thanks to Joerg.Bernau at web.de

source/smbd/reply.c

index d6813bef805d65d740fa00dc6d69251248205d6b..e27272f0dda7147c0bb91d358d5874146caf772c 100644 (file)
@@ -3923,7 +3923,7 @@ void reply_write_and_X(connection_struct *conn, struct smb_request *req)
                if(IVAL(req->inbuf,smb_vwv12) != 0) {
                        DEBUG(0,("reply_write_and_X - large offset (%x << 32) "
                                 "used and we don't support 64 bit offsets.\n",
-                                (unsigned int)IVAL(inbuf,smb_vwv12) ));
+                                (unsigned int)IVAL(req->inbuf,smb_vwv12) ));
                        reply_doserror(req, ERRDOS, ERRbadaccess);
                        END_PROFILE(SMBwriteX);
                        return;