-fix & vs &&
authorChristian Grothoff <christian@grothoff.org>
Tue, 7 Jun 2016 11:50:55 +0000 (11:50 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 7 Jun 2016 11:50:55 +0000 (11:50 +0000)
src/my/my.c

index 841ef28a4b18f458be71c67c0edd7a7b5708b1e1..5409166fb94c33537a4d70a94d1fa0ed23201379 100644 (file)
@@ -177,7 +177,7 @@ GNUNET_MY_extract_result (struct GNUNET_MYSQL_StatementHandle *sh,
 
     if (MYSQL_NO_DATA == ret)
       return GNUNET_NO;
-    if ((0 != ret ) & (MYSQL_DATA_TRUNCATED != ret))
+    if ((0 != ret ) && (MYSQL_DATA_TRUNCATED != ret))
     {
       GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR,
                        "my",