diff options
author | Jeremy Allison <jra@samba.org> | 2001-06-22 23:21:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-06-22 23:21:23 +0000 |
commit | 7280d4c7cb43a6cfeb9e44c818950ae92966bd37 (patch) | |
tree | 155216f37995996e2fa86a27ddb93d67477812c9 /source/smbd/reply.c | |
parent | 6e24a8693affe78ee514efe5b33b5a78587163d0 (diff) | |
download | samba-7280d4c7cb43a6cfeb9e44c818950ae92966bd37.tar.gz samba-7280d4c7cb43a6cfeb9e44c818950ae92966bd37.tar.xz samba-7280d4c7cb43a6cfeb9e44c818950ae92966bd37.zip |
Fix for %m problem...
Jeremy
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index c98375792e2..7add7efed30 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -92,12 +92,12 @@ int reply_special(char *inbuf,char *outbuf) DEBUG(2,("netbios connect: name1=%s name2=%s\n", name1,name2)); - fstrcpy(remote_machine,name2); + alpha_strcpy(remote_machine,name2,sizeof(remote_machine)-1); remote_machine[15] = 0; trim_string(remote_machine," "," "); strlower(remote_machine); - fstrcpy(local_machine,name1); + alpha_strcpy(local_machine,name1,sizeof(local_machine)-1); len = strlen(local_machine); if (len == 16) { name_type = local_machine[15]; |