mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Make the variable name match the comment.
Andrew Bartlett
(This used to be commit 5a577f8caf
)
This commit is contained in:
parent
2ee8590c4f
commit
be86f6555a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user