Make white space consistent.

Change-Id: I19053ecc53b7f0d2b4dfb0462f381f7d28bb578a
Reviewed-on: https://code.wireshark.org/review/28502
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-06-28 00:31:31 -07:00
parent a78026d33f
commit bb47336086
1 changed files with 9 additions and 9 deletions

View File

@ -160,14 +160,14 @@ relative_val_from_unparsed(fvalue_t *fv, const char *s, gboolean allow_partial_v
{
const char *curptr;
char *endptr;
gboolean negative = FALSE;
gboolean negative = FALSE;
curptr = s;
if(*curptr == '-') {
negative = TRUE;
curptr++;
}
if (*curptr == '-') {
negative = TRUE;
curptr++;
}
/*
* If it doesn't begin with ".", it should contain a seconds
@ -208,10 +208,10 @@ relative_val_from_unparsed(fvalue_t *fv, const char *s, gboolean allow_partial_v
fv->value.time.nsecs = 0;
}
if(negative) {
fv->value.time.secs = -fv->value.time.secs;
fv->value.time.nsecs = -fv->value.time.nsecs;
}
if (negative) {
fv->value.time.secs = -fv->value.time.secs;
fv->value.time.nsecs = -fv->value.time.nsecs;
}
return TRUE;
fail: