From 936acfa13116a7cb81e656db3acc31c5f9ab2fd5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 25 Jan 2016 12:53:07 +0100 Subject: check type in plugin --- src/wire/test_sepa_wireformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wire/test_sepa_wireformat.c') 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)); -- cgit v1.2.3