summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Warfield <mhw@samba.org>1999-02-01 22:01:29 +0000
committerMichael Warfield <mhw@samba.org>1999-02-01 22:01:29 +0000
commit8fdc846070011a84e6e68ee2f89bbc1852602535 (patch)
tree3d291804efb4b102cfdf8b9c2acbe0c289357db6 /source3
parent68a1171c8283ff181ecb98615a78ca2cfc43ffb2 (diff)
downloadsamba-8fdc846070011a84e6e68ee2f89bbc1852602535.tar.gz
samba-8fdc846070011a84e6e68ee2f89bbc1852602535.tar.bz2
samba-8fdc846070011a84e6e68ee2f89bbc1852602535.zip
Minor change to bring smbmount in the main branch in line with some bzero
to memset changes... (This used to be commit 1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/smbmount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 3c2d207498..00331f3681 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -149,7 +149,7 @@ static BOOL chkpath(char *path,BOOL report)
trim_string(path2,NULL,"\\");
if (!*path2) *path2 = '\\';
- bzero(outbuf,smb_size);
+ memset(outbuf,'\0',smb_size);
set_message(outbuf,0,4 + strlen(path2),True);
SCVAL(outbuf,smb_com,SMBchkpth);
SSVAL(outbuf,smb_tid,cnum);
@@ -536,7 +536,7 @@ static BOOL process(char *base_directory)
if ((InBuffer == NULL) || (OutBuffer == NULL))
return(False);
- bzero(OutBuffer,smb_size);
+ memset(OutBuffer,'\0',smb_size);
if (!mount_send_login(InBuffer,OutBuffer))
return(False);
@@ -583,7 +583,7 @@ static BOOL process(char *base_directory)
fstring tok;
int i;
- bzero(OutBuffer,smb_size);
+ memset(OutBuffer,'\0',smb_size);
/* display a prompt */
DEBUG(0,("smb: %s> ", CNV_LANG(cur_dir)));