Changeset 20407
- Timestamp:
- Oct 26, 2008, 5:14:14 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxtools.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxtools.c
r19092 r20407 32 32 // XXX replace strncmp with strcmp 33 33 34 if (! ((strncmp(state, "new", 4) == 0)35 || (strncmp(state, "reg", 3) == 0)36 || (strncmp(state, "full", 5) == 0)37 || (strncmp(state, "goto_cleaned", 8) == 0)38 || (strncmp(state, "cleaned", 8) == 0)39 || (strncmp(state, "update", 7) == 0)40 || (strncmp(state, "purged", 7) == 0)41 || (strncmp(state, "goto_purged", 12) == 0))) {42 return false;43 }34 if (!strcmp(state, "new")) return true; 35 if (!strcmp(state, "reg")) return true; 36 if (!strcmp(state, "full")) return true; 37 if (!strcmp(state, "drop")) return true; 38 if (!strcmp(state, "wait")) return true; 39 if (!strcmp(state, "goto_cleaned")) return true; 40 if (!strcmp(state, "cleaned")) return true; 41 if (!strcmp(state, "update")) return true; 42 if (!strcmp(state, "purged")) return true; 43 if (!strcmp(state, "goto_purged")) return true; 44 44 45 return true;45 return false; 46 46 } 47 <
Note:
See TracChangeset
for help on using the changeset viewer.
