From 7ee3cc685511a6d77350707a9c466e9903776744 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 4 Apr 2018 11:25:47 -0400 Subject: [PATCH] Update parse_units.c --- lib/roken/parse_units.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/parse_units.c b/lib/roken/parse_units.c index 5f6805f3c..83918e973 100644 --- a/lib/roken/parse_units.c +++ b/lib/roken/parse_units.c @@ -77,7 +77,7 @@ parse_something (const char *s, const struct units *units, unsigned partial; int no_val_p = 0; - while(isspace((unsigned char)*p) || *p == ',') + while (isspace((unsigned char)*p) || *p == ',') ++p; val = strtol(p, &next, 0); @@ -135,7 +135,7 @@ parse_something (const char *s, const struct units *units, } if (*p == 's') ++p; - while(isspace((unsigned char)*p)) + while (isspace((unsigned char)*p)) ++p; } return res;