]> hydra-www.ietfng.org Git - gtetrinet/commitdiff
Fix test for warning.
authorJames Antill <james@src.gnome.org>
Mon, 3 Mar 2003 21:49:27 +0000 (21:49 +0000)
committerJames Antill <james@src.gnome.org>
Mon, 3 Mar 2003 21:49:27 +0000 (21:49 +0000)
src/tetrinet.c

index 54dbe21b52091da6cbb62069a3e9c2eaac296efa..503eaddf0e3a7f90f5e439148e53a088bfb1b534 100644 (file)
@@ -902,7 +902,7 @@ static void tetrinet_old_sendfield (int reset, const char *new_buf)
         *p = 0;
         g_snprintf (buf, sizeof(buf), "%d %s", playernum, buf2);
     }
-    if (!strcmp(new_buf, buf))
+    if (strcmp(new_buf, buf))
       g_warning("sendfield ... non compat. data\n"
                 "\tBEG: sendfield data\n"
                 "\t old=%s\n"