author | Andy Whitcroft <apw@shadowen.org> | |
Thu, 19 Apr 2007 02:08:15 +0000 (03:08 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 19 Apr 2007 02:26:33 +0000 (19:26 -0700) | ||
commit | 6e6db39afc305e1205a4d2dcf34680bfa80bfc24 | |
tree | c2d17f82c086514d8560c4e2492670d1befa7b42 | tree | snapshot |
parent | 9f1beb7140584b3eb803cc9a69cbced528209f6e | commit | diff |
fix up strtoul_ui error handling
Two scanf() calls were converted to strtoul_ui() but the return
values were not updated to match. scanf() returns the number of
matched "values" which for this usage is 1 on success. strtoul_ui()
return 0 on success. Update these call sites to match.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Two scanf() calls were converted to strtoul_ui() but the return
values were not updated to match. scanf() returns the number of
matched "values" which for this usage is 1 on success. strtoul_ui()
return 0 on success. Update these call sites to match.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-update-index.c | diff | blob | history | |
convert-objects.c | diff | blob | history |