-and this is why the NULL comes FIRST
authorChristian Grothoff <christian@grothoff.org>
Fri, 19 Dec 2014 22:49:35 +0000 (22:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 19 Dec 2014 22:49:35 +0000 (22:49 +0000)
src/psyc/psyc_util_lib.c

index 6177976dec637f383c37470fe0dd99dcdd344b2c..bd24667386a5c52b2bfa544d05e18a17fd801cc2 100644 (file)
@@ -624,7 +624,7 @@ transmit_notify_env (void *cls, uint16_t *data_size, void *data, uint8_t *oper,
 
     *data_size = value_size;
     memcpy (data, value, value_size);
-    return (tmit->mod_value = NULL) ? GNUNET_YES : GNUNET_NO;
+    return (NULL == tmit->mod_value) ? GNUNET_YES : GNUNET_NO;
   }
 }