diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-01-25 12:53:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-01-25 12:53:07 +0100 |
commit | 936acfa13116a7cb81e656db3acc31c5f9ab2fd5 (patch) | |
tree | bde33e975b8a65250477f6556fcc889d10e65058 /src/wire/test_sepa_wireformat.c | |
parent | fc5791353087812db6df374d1e453a387c57550c (diff) | |
download | exchange-936acfa13116a7cb81e656db3acc31c5f9ab2fd5.tar.xz |
check type in plugin
Diffstat (limited to 'src/wire/test_sepa_wireformat.c')
-rw-r--r-- | src/wire/test_sepa_wireformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wire/test_sepa_wireformat.c b/src/wire/test_sepa_wireformat.c index d00228dd1..958aac260 100644 --- a/src/wire/test_sepa_wireformat.c +++ b/src/wire/test_sepa_wireformat.c @@ -130,7 +130,7 @@ main(int argc, GNUNET_assert (NULL != plugin); (void) memset(&error, 0, sizeof(error)); GNUNET_assert (NULL != (wire = json_loads (unsupported_wire_str, 0, NULL))); - GNUNET_assert (GNUNET_NO == plugin->wire_validate (wire)); + GNUNET_assert (GNUNET_YES != plugin->wire_validate (wire)); json_decref (wire); GNUNET_assert (NULL != (wire = json_loads (invalid_wire_str, 0, NULL))); GNUNET_assert (GNUNET_NO == plugin->wire_validate (wire)); |