From 64e3a091c34482b666c3c50c312829cd7fa140c9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 13 Aug 2008 13:07:50 +0000 Subject: [PATCH] Split comparison among several lines for debugging --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 584f7df..0eaf8f7 100644 --- a/src/main.c +++ b/src/main.c @@ -1399,7 +1399,9 @@ static int str2offset(curl_off_t *val, const char *str) /* this is a duplicate of the function that is also used in libcurl */ *val = curlx_strtoofft(str, NULL, 0); - if ((*val == LLONG_MAX || *val == LLONG_MIN) && ERRNO == ERANGE) + if( ( (*val == LLONG_MAX) || + (*val == LLONG_MIN) ) && + (ERRNO == ERANGE) ) return 1; #else *val = strtol(str, NULL, 0); -- 2.7.4