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:
100a8dd
)
cov fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 4 Nov 2011 13:37:19 +0000
(13:37 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 4 Nov 2011 13:37:19 +0000
(13:37 +0000)
src/util/test_plugin.c
patch
|
blob
|
history
diff --git
a/src/util/test_plugin.c
b/src/util/test_plugin.c
index dc34841f5567de435f6bc78c5685a8312807b052..bfa3cf11087e826f9d06851b1c7faf19da430761 100644
(file)
--- a/
src/util/test_plugin.c
+++ b/
src/util/test_plugin.c
@@
-31,9
+31,13
@@
test_cb (void *cls,
const char *libname,
void *lib_ret)
{
+ void *ret;
+
GNUNET_assert (0 == strcmp (cls, "test"));
GNUNET_assert (0 == strcmp (lib_ret, "Hello"));
- GNUNET_assert (0 == strcmp (GNUNET_PLUGIN_unload (libname, "out"), "World"));
+ ret = GNUNET_PLUGIN_unload (libname, "out");
+ GNUNET_assert (NULL != ret);
+ GNUNET_assert (0 == strcmp (ret, "World"));
}