NT4 is particularly fussy about getting this right.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 31 Mar 2003 02:30:49 +0000 (02:30 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 31 Mar 2003 02:30:49 +0000 (02:30 +0000)
Andrew Bartlett
(This used to be commit 055a499afb0cab87529f3f991765af95f11cc364)

source3/smbd/reply.c

index 70f5e0aba21e8eea3db4e032d63d3383a57c09cc..c4e95b756205fe32b50421f5a2c098d7a7796c6e 100644 (file)
@@ -292,7 +292,6 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
                                 STR_TERMINATE|STR_ASCII);
                p += srvstr_push(outbuf, p, fsname, -1, 
                                 STR_TERMINATE);
-               p = smb_buf(outbuf);
                set_message_end(outbuf,p);
                
                /* what does setting this bit do? It is set by NT4 and