Index: trunk/ippTools/src/pxtools.c
===================================================================
--- trunk/ippTools/src/pxtools.c	(revision 19092)
+++ trunk/ippTools/src/pxtools.c	(revision 20407)
@@ -32,15 +32,16 @@
     // XXX replace strncmp with strcmp
 
-    if (!((strncmp(state, "new", 4) == 0)
-    || (strncmp(state, "reg", 3) == 0)
-    || (strncmp(state, "full", 5) == 0)
-    || (strncmp(state, "goto_cleaned", 8) == 0)
-    || (strncmp(state, "cleaned", 8) == 0)
-    || (strncmp(state, "update", 7) == 0)
-    || (strncmp(state, "purged", 7) == 0)
-    || (strncmp(state, "goto_purged", 12) == 0))) {
-        return false;
-    }
+    if (!strcmp(state, "new")) return true;
+    if (!strcmp(state, "reg")) return true;
+    if (!strcmp(state, "full")) return true;
+    if (!strcmp(state, "drop")) return true;
+    if (!strcmp(state, "wait")) return true;
+    if (!strcmp(state, "goto_cleaned")) return true;
+    if (!strcmp(state, "cleaned")) return true;
+    if (!strcmp(state, "update")) return true;
+    if (!strcmp(state, "purged")) return true;
+    if (!strcmp(state, "goto_purged")) return true;
 
-    return true;
+    return false;
 }
+<
