From c6a855363bfc59fbe197bba73bf64b5d920946a1 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 1 May 2014 12:33:34 +1200 Subject: Completed debug stuff --- common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common.c') diff --git a/common.c b/common.c index d4d2869..c0e44ef 100644 --- a/common.c +++ b/common.c @@ -71,8 +71,10 @@ int get_int(const char* string) char* first_num; first_num = strpbrk(string, "0123456789"); + debug("first_num: '%s'\n",first_num); if(first_num) return atoi(first_num); + debug("first_num was 0, returning 1\n"); return 1; } -- cgit v1.1