1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

_num_chars did wrong when called with a number that starts with 1!

This commit is contained in:
Daniel Stenberg 2002-01-31 07:51:06 +00:00
parent ec1736d488
commit 3474ec4ecb

View File

@ -117,7 +117,7 @@ static int _num_chars(int i)
chars++; chars++;
i = (int) i / 10; i = (int) i / 10;
} while (i > 1); } while (i >= 1);
return chars; return chars;
} }