summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-23 11:11:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-23 11:11:02 +0000
commitbe86f6555a74ca8eb321e25aef618f6e9ced731c (patch)
treef5e4d72626bc78a42f4ca477b9b381744780c517
parent2ee8590c4fbd43a8da28cf7d2acd3894351bdeed (diff)
downloadsamba-be86f6555a74ca8eb321e25aef618f6e9ced731c.tar.gz
samba-be86f6555a74ca8eb321e25aef618f6e9ced731c.tar.bz2
samba-be86f6555a74ca8eb321e25aef618f6e9ced731c.zip
Make the variable name match the comment.
Andrew Bartlett (This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index d655184042..3bb161e0cb 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -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);