summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2015-06-01 19:07:13 -0700
committerAndy Zhou <azhou@nicira.com>2015-06-02 14:08:51 -0700
commita42023ee8d6c45395626bf37754202e85f3cd904 (patch)
tree8705b30f5817e44d1468ae9767a1ada30e90c226
parent1734bf29a37e746b79689827e587b68248ddc834 (diff)
downloadopenvswitch-a42023ee8d6c45395626bf37754202e85f3cd904.tar.gz
lib/util.c: style fixes
Covert tabs into spaces. Found by inspection. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
-rw-r--r--lib/util.c10
1 files 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;