summaryrefslogtreecommitdiffstats
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
commit1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e (patch)
tree906849e7ce59ce17df7b11539e4a9f328337df63
parentce1ae86cbd8dec18ff981d1fce05ed660e263f38 (diff)
downloadsamba-1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e.tar.gz
samba-1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e.tar.xz
samba-1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e.zip
Minor change to bring smbmount in the main branch in line with some bzero
to memset changes...
-rw-r--r--source/client/smbmount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c
index 3c2d2074986..00331f36819 100644
--- a/source/client/smbmount.c
+++ b/source/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)));