diff options
Diffstat (limited to 'testsuite/libsmbclient/src/telldir')
-rw-r--r-- | testsuite/libsmbclient/src/telldir/telldir_1.c | 10 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/telldir/telldir_2.c | 10 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/telldir/telldir_3.c | 4 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/telldir/telldir_4.c | 4 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/telldir/telldir_5.c | 10 |
5 files changed, 19 insertions, 19 deletions
diff --git a/testsuite/libsmbclient/src/telldir/telldir_1.c b/testsuite/libsmbclient/src/telldir/telldir_1.c index 5e6cb94bb1..8bba7b0680 100644 --- a/testsuite/libsmbclient/src/telldir/telldir_1.c +++ b/testsuite/libsmbclient/src/telldir/telldir_1.c @@ -42,11 +42,11 @@ int main(int argc, char** argv) char file_url[MAX_BUFF_SIZE]; char dir_url[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/telldir/telldir_2.c b/testsuite/libsmbclient/src/telldir/telldir_2.c index 45a4d158b0..3f9a24dc9c 100644 --- a/testsuite/libsmbclient/src/telldir/telldir_2.c +++ b/testsuite/libsmbclient/src/telldir/telldir_2.c @@ -42,11 +42,11 @@ int main(int argc, char** argv) char file_url[MAX_BUFF_SIZE]; char dir_url[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/telldir/telldir_3.c b/testsuite/libsmbclient/src/telldir/telldir_3.c index 67a7dc696f..937d9a61ad 100644 --- a/testsuite/libsmbclient/src/telldir/telldir_3.c +++ b/testsuite/libsmbclient/src/telldir/telldir_3.c @@ -34,8 +34,8 @@ int main(int argc, char** argv) char url[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/telldir/telldir_4.c b/testsuite/libsmbclient/src/telldir/telldir_4.c index 852917456b..caef669ba7 100644 --- a/testsuite/libsmbclient/src/telldir/telldir_4.c +++ b/testsuite/libsmbclient/src/telldir/telldir_4.c @@ -34,8 +34,8 @@ int main(int argc, char** argv) char url[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/telldir/telldir_5.c b/testsuite/libsmbclient/src/telldir/telldir_5.c index 1984ffb9b7..2b9306270e 100644 --- a/testsuite/libsmbclient/src/telldir/telldir_5.c +++ b/testsuite/libsmbclient/src/telldir/telldir_5.c @@ -48,11 +48,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 ) { |