diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-10 08:07:38 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-10 08:07:38 +0000 |
commit | 5113680f95e522c677cdd37072cfffbdca06831e (patch) | |
tree | 973ac57accbc66b042e5307942c6cbbbf4f19579 /Source/testing/socket_test.c | |
parent | 6862128151fb78f63685a8da5575783c426d64a7 (diff) | |
download | strongswan-5113680f95e522c677cdd37072cfffbdca06831e.tar.bz2 strongswan-5113680f95e522c677cdd37072cfffbdca06831e.tar.xz |
- split up in libstrong, charon, stroke, testing done
- new leak detective with malloc hook in library
- useable, but needs improvements
- logger_manager has now a single instance per library
- allows use of loggers from any linking prog
- a LOT of other things
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; |