-missing NOT
authorChristian Grothoff <christian@grothoff.org>
Fri, 26 Aug 2016 14:26:13 +0000 (14:26 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 26 Aug 2016 14:26:13 +0000 (14:26 +0000)
src/identity-provider/gnunet-identity-token.c

index e33f47b8b0988eeb1e81169eb45cee0c33a5250a..4bb3292bee1caa1eba7215651b8d1a1ed816e47c 100644 (file)
@@ -69,9 +69,9 @@ run (void *cls,
   header_b64 = strtok (token, ".");
   payload_b64 = strtok (NULL, ".");
   signature_b32 = strtok (NULL, ".");
-  if ( (NULL != header_b64) ||
-       (NULL != payload_b64) ||
-       (NULL != signature_b32) )
+  if ( (NULL == header_b64) ||
+       (NULL == payload_b64) ||
+       (NULL == signature_b32) )
   {
     GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE,
                 _("Token `%s' is malformed\n"),