Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/systat/ifcmds.c
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | if (args != NULL && *args != '\0' && memcmp(args, "*", 2) != 0) { | ||||
/* Empty or * pattern, turn filtering off */ | /* Empty or * pattern, turn filtering off */ | ||||
if (matchline != NULL) | if (matchline != NULL) | ||||
free(matchline); | free(matchline); | ||||
needsort = 1; | needsort = 1; | ||||
matchline = NULL; | matchline = NULL; | ||||
} | } | ||||
} else if (prefix(cmd, "pps")) | } else if (prefix(cmd, "pps")) | ||||
showpps = !showpps; | showpps = !showpps; | ||||
else | |||||
return (0); | |||||
return (1); | return (1); | ||||
} | } |