aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_container_slist.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-08-30 21:32:26 +0000
committerChristian Grothoff <christian@grothoff.org>2010-08-30 21:32:26 +0000
commitffa0156860c584608db5bde1038e127c6e8fda21 (patch)
treeefa8fe54b81eb17cae35f2567efca4a72579dd49 /src/util/test_container_slist.c
parent3550d44da569c98f23ed052292ff13caf8e43e25 (diff)
downloadgnunet-ffa0156860c584608db5bde1038e127c6e8fda21.tar.gz
gnunet-ffa0156860c584608db5bde1038e127c6e8fda21.zip
fixes
Diffstat (limited to 'src/util/test_container_slist.c')
-rw-r--r--src/util/test_container_slist.c3
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
34int 33int
35main (int argc, char *argv[]) 34main (int argc, char *argv[])