diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-09-29 14:47:11 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-01 18:48:05 +0000 |
commit | 36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 (patch) | |
tree | 838cdec72aeea68c3ad78f8d18535afd5408d43a /ucb/source/ucp/ftp/test_ftpurl.cxx | |
parent | 053b68a0c7b75eae7d86d4465f65abc6046515ee (diff) |
Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'ucb/source/ucp/ftp/test_ftpurl.cxx')
-rw-r--r-- | ucb/source/ucp/ftp/test_ftpurl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/ftp/test_ftpurl.cxx b/ucb/source/ucp/ftp/test_ftpurl.cxx index 3e2a5c22a2dd..573453e04595 100644 --- a/ucb/source/ucp/ftp/test_ftpurl.cxx +++ b/ucb/source/ucp/ftp/test_ftpurl.cxx @@ -32,7 +32,6 @@ #include "ftploaderthread.hxx" #include "ftphandleprovider.hxx" #include "debughelper.hxx" -#include <rtl/memory.h> #include <vector> #define TESTEVAL \ @@ -252,7 +251,7 @@ int test_ftpopen(void) char *dest = (char*) malloc(sizeof(char)); dest[0] = 0; do { - rtl_zeroMemory((void*)buff,bffsz); + memset((void*)buff, 0, bffsz); fread(buff,bffsz-1,1,file); nbuf = strlen(buff); ndest = strlen(dest); |