summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-16 13:24:36 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-16 13:24:36 +0000
commit7b18c5d1647b44f46cf973701b3bcc9aefb37e7d (patch)
tree827e69f838133525cbcb1bb7d264946846e1a4c6 /source3/smbd/reply.c
parentc6cf08774114a906645a405dea8a7546d614de35 (diff)
downloadsamba-7b18c5d1647b44f46cf973701b3bcc9aefb37e7d.tar.gz
samba-7b18c5d1647b44f46cf973701b3bcc9aefb37e7d.tar.bz2
samba-7b18c5d1647b44f46cf973701b3bcc9aefb37e7d.zip
Make sure we mark the assumption of a fstring parameter for 'devicetype'
in the function prototype, and change callers to respect this. Andrew Bartlett (This used to be commit 9f3d3c380120f16d76d68f346799282d61eec892)
Diffstat (limited to 'source3/smbd/reply.c')
-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 80f648981a..5ca0ae52de 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -148,7 +148,7 @@ int reply_tcon(connection_struct *conn,
const char *service;
pstring service_buf;
pstring password;
- pstring dev;
+ fstring dev;
int outsize = 0;
uint16 vuid = SVAL(inbuf,smb_uid);
int pwlen=0;
@@ -204,7 +204,7 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
{
fstring service;
DATA_BLOB password;
- pstring devicename;
+ fstring devicename;
NTSTATUS nt_status;
uint16 vuid = SVAL(inbuf,smb_uid);
int passlen = SVAL(inbuf,smb_vwv3);