diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-30 21:32:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-30 21:32:26 +0000 |
commit | ffa0156860c584608db5bde1038e127c6e8fda21 (patch) | |
tree | efa8fe54b81eb17cae35f2567efca4a72579dd49 /src/util/test_container_slist.c | |
parent | 3550d44da569c98f23ed052292ff13caf8e43e25 (diff) | |
download | gnunet-ffa0156860c584608db5bde1038e127c6e8fda21.tar.gz gnunet-ffa0156860c584608db5bde1038e127c6e8fda21.zip |
fixes
Diffstat (limited to 'src/util/test_container_slist.c')
-rw-r--r-- | src/util/test_container_slist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/test_container_slist.c b/src/util/test_container_slist.c index ab19eb638..a9523c9d2 100644 --- a/src/util/test_container_slist.c +++ b/src/util/test_container_slist.c | |||
@@ -28,8 +28,7 @@ | |||
28 | #include "gnunet_common.h" | 28 | #include "gnunet_common.h" |
29 | #include "gnunet_container_lib.h" | 29 | #include "gnunet_container_lib.h" |
30 | 30 | ||
31 | #define ABORT() { fprintf(stderr, "Error at %s:%d\n", __FILE__, __LINE__); return 1; } | 31 | #define CHECK(c) do { if (! (c)) { fprintf(stderr, "Error at %s:%d\n", __FILE__, __LINE__); GNUNET_CONTAINER_slist_destroy (l); return 1; } } while (0) |
32 | #define CHECK(c) { if (! (c)) ABORT(); } | ||
33 | 32 | ||
34 | int | 33 | int |
35 | main (int argc, char *argv[]) | 34 | main (int argc, char *argv[]) |