summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/readdir
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/readdir')
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_1.c10
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_2.c10
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_3.c4
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_4.c4
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_5.c14
5 files changed, 21 insertions, 21 deletions
diff --git a/testsuite/libsmbclient/src/readdir/readdir_1.c b/testsuite/libsmbclient/src/readdir/readdir_1.c
index 7b508a0968..fc0849ff3b 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_1.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_1.c
@@ -46,11 +46,11 @@ int main(int argc, char** argv)
char dir_url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
- bzero(file_url,MAX_BUFF_SIZE);
- bzero(dir_url,MAX_BUFF_SIZE);
- bzero(buff,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
+ memset(file_url, '\0', MAX_BUFF_SIZE);
+ memset(dir_url, '\0', MAX_BUFF_SIZE);
+ memset(buff, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_2.c b/testsuite/libsmbclient/src/readdir/readdir_2.c
index dbc453701e..5c7658952f 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_2.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_2.c
@@ -46,11 +46,11 @@ int main(int argc, char** argv)
char dir_url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
- bzero(file_url,MAX_BUFF_SIZE);
- bzero(dir_url,MAX_BUFF_SIZE);
- bzero(buff,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
+ memset(file_url, '\0', MAX_BUFF_SIZE);
+ memset(dir_url, '\0', MAX_BUFF_SIZE);
+ memset(buff, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_3.c b/testsuite/libsmbclient/src/readdir/readdir_3.c
index 3030b9b117..9854d73e59 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_3.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_3.c
@@ -38,8 +38,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_4.c b/testsuite/libsmbclient/src/readdir/readdir_4.c
index 5d893b50dd..b3c4151583 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_4.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_4.c
@@ -38,8 +38,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_5.c b/testsuite/libsmbclient/src/readdir/readdir_5.c
index aa77c4027d..e648dda60d 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_5.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_5.c
@@ -47,11 +47,11 @@ int main(int argc, char** argv)
char dir_url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
- bzero(file_url,MAX_BUFF_SIZE);
- bzero(dir_url,MAX_BUFF_SIZE);
- bzero(buff,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
+ memset(file_url, '\0', MAX_BUFF_SIZE);
+ memset(dir_url, '\0', MAX_BUFF_SIZE);
+ memset(buff, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
@@ -93,8 +93,8 @@ int main(int argc, char** argv)
err = 0;
i = 0;
- bzero(buff,MAX_BUFF_SIZE);
- bzero(tmp_file_ptr,MAX_BUFF_SIZE-9);
+ memset(buff, '\0', MAX_BUFF_SIZE);
+ memset(tmp_file_ptr, '\0', MAX_BUFF_SIZE-9);
while ( 1 )
{