summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 8e304a77df..58b509ecec 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -269,11 +269,8 @@ int reply_tcon_and_X(char *inbuf,char *outbuf,int length,int bufsize)
else
{
char *fsname = "NTFS";
- int devlen = strlen(devicename)+1;
- int fslen = strlen(fsname)+1;
- int len = devlen + fslen + 1;
-
char *p;
+
set_message(outbuf,3,3,True);
p = smb_buf(outbuf);