Make the variable name match the comment.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 11:11:02 +0000 (11:11 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 11:11:02 +0000 (11:11 +0000)
Andrew Bartlett
(This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)

source3/smbd/reply.c

index d65518404209683e61fe592474cc8be24faf41c8..3bb161e0cb2af7b73cb8aa3e93cd869e623bc22b 100644 (file)
@@ -283,14 +283,14 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
                set_message_end(outbuf,p);
        } else {
                /* NT sets the fstype of IPC$ to the null string */
-               const char *fsname = IS_IPC(conn) ? "" : lp_fstype(SNUM(conn));
+               const char *fstype = IS_IPC(conn) ? "" : lp_fstype(SNUM(conn));
                
                set_message(outbuf,3,0,True);
 
                p = smb_buf(outbuf);
                p += srvstr_push(outbuf, p, server_devicetype, -1, 
                                 STR_TERMINATE|STR_ASCII);
-               p += srvstr_push(outbuf, p, fsname, -1, 
+               p += srvstr_push(outbuf, p, fstype, -1, 
                                 STR_TERMINATE);
                
                set_message_end(outbuf,p);