projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d14c24
)
move assert
author
Christian Grothoff
<christian@grothoff.org>
Fri, 15 Jul 2011 11:06:25 +0000
(11:06 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 15 Jul 2011 11:06:25 +0000
(11:06 +0000)
src/testing/testing.c
patch
|
blob
|
history
diff --git
a/src/testing/testing.c
b/src/testing/testing.c
index 21014db9fe28f8033eebdaec1c44db9446ca8402..57670dd238d142acb3a527c49b8a8c18b3df65a5 100644
(file)
--- a/
src/testing/testing.c
+++ b/
src/testing/testing.c
@@
-99,6
+99,7
@@
process_hello (void *cls,
int empty;
empty = GNUNET_YES;
+ GNUNET_assert (message != NULL);
GNUNET_HELLO_iterate_addresses ((const struct GNUNET_HELLO_Message*) message,
GNUNET_NO,
&test_address,
@@
-134,7
+135,6
@@
process_hello (void *cls,
daemon->server = NULL;
}
- GNUNET_assert (message != NULL);
msize = ntohs (message->size);
if (msize < 1)
{