- Fix coverity 10602
authorBart Polot <bart@net.in.tum.de>
Fri, 19 Jul 2013 15:08:58 +0000 (15:08 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 19 Jul 2013 15:08:58 +0000 (15:08 +0000)
src/regex/plugin_block_regex.c

index d8312a1a06230e91c71f541248ec8805d9a199c2..317f65d8da7bea50fb86496054a53e6642c3abe4 100644 (file)
@@ -290,7 +290,7 @@ block_plugin_regex_get_key (void *cls, enum GNUNET_BLOCK_Type type,
       }
       return GNUNET_OK;
     case GNUNET_BLOCK_TYPE_REGEX_ACCEPT:
-      if (sizeof (struct RegexAcceptBlock) != block_size);
+      if (sizeof (struct RegexAcceptBlock) != block_size)
       {
        GNUNET_break_op (0);
        return GNUNET_NO;