From a42023ee8d6c45395626bf37754202e85f3cd904 Mon Sep 17 00:00:00 2001 From: Andy Zhou Date: Mon, 1 Jun 2015 19:07:13 -0700 Subject: [PATCH] lib/util.c: style fixes Covert tabs into spaces. Found by inspection. Signed-off-by: Andy Zhou Acked-by: Jesse Gross --- lib/util.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/util.c b/lib/util.c index c7e2b77f5..947398507 100644 --- a/lib/util.c +++ b/lib/util.c @@ -651,11 +651,11 @@ str_to_uint(const char *s, int base, unsigned int *u) long long ll; bool ok = str_to_llong(s, base, &ll); if (!ok || ll < 0 || ll > UINT_MAX) { - *u = 0; - return false; + *u = 0; + return false; } else { - *u = ll; - return true; + *u = ll; + return true; } } @@ -799,7 +799,7 @@ parse_int_string(const char *s, uint8_t *valuep, int field_width, char **tail) free: free(hexit_str); - return err; + return err; } errno = 0; -- 2.20.1