| # | Line 284 | Line 284 | void processStats() { | |
|---|---|---|
| 284 | } | |
| 285 | ||
| 286 | line_ptr=line; | |
| 287 | < | for(;*line_ptr != ' ';line_ptr++); |
| 288 | < | line_ptr--; |
| 289 | < | |
| 287 | > | for(;*line_ptr++ != '\t';); |
| 288 | > | |
| 289 | > | |
| 290 | if(*line_ptr=='R') running++; | |
| 291 | if(*line_ptr=='S') sleeping++; | |
| 292 | if(*line_ptr=='Z') zombie++; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |