diff options
Diffstat (limited to 'Source/testing/socket_test.c')
-rw-r--r-- | Source/testing/socket_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/testing/socket_test.c b/Source/testing/socket_test.c index 360bf697c..e3fbca452 100644 --- a/Source/testing/socket_test.c +++ b/Source/testing/socket_test.c @@ -26,7 +26,6 @@ #include "socket_test.h" #include <network/socket.h> -#include <utils/allocator.h> /* * Description in header file @@ -41,7 +40,7 @@ void test_socket(protected_tester_t *tester) chunk_t data; - data.ptr = allocator_alloc(strlen(test_string) + 1); + data.ptr = malloc(strlen(test_string) + 1); memcpy(data.ptr,test_string,strlen(test_string) + 1); data.len = strlen(test_string) + 1; |