~sforman/atsea

20b6480e24bd61fde68ad0e0d983863eac2f134e — Simon Forman 1 year, 2 months ago 5f3b6c9
Minor cleanup.
1 files changed, 1 insertions(+), 3 deletions(-)

M heythere.c
M heythere.c => heythere.c +1 -3
@@ 15,7 15,7 @@ int
convert_long_or_die(char *str, long *a)
{
	char *end;
	int result;
	int result = 0;

	*a = strtol(str, &end, 10);



@@ 28,8 28,6 @@ convert_long_or_die(char *str, long *a)
	} else if (LONG_MAX == *a && ERANGE == errno) {
		*a = 0;
		result = 3;
	} else {
		result = 0;
	}

	return result;