diff options
Diffstat (limited to 'src/minutils/s6ps_statparse.c')
-rw-r--r-- | src/minutils/s6ps_statparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minutils/s6ps_statparse.c b/src/minutils/s6ps_statparse.c index b5976a1..d8bc39e 100644 --- a/src/minutils/s6ps_statparse.c +++ b/src/minutils/s6ps_statparse.c @@ -149,7 +149,8 @@ int s6ps_statparse (pscan_t *p) if (pos + 1 > p->statlen) return 0 ; if (p->data.s[pos++] != ' ') return 0 ; w = (*scanfuncs[i])(p->data.s + pos, scanresults[i]) ; - if (!w) return 0 ; pos += w ; + if (!w) return 0 ; + pos += w ; } return 1 ; } |