aboutsummaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-01 12:33:34 +1200
committerDavid <dbphillipsnz@gmail.com>2014-05-01 12:33:34 +1200
commitc6a855363bfc59fbe197bba73bf64b5d920946a1 (patch)
tree4233a6c01283b4bb718d62dec240f33845aae7b1 /common.c
parentfe30fcc86801beec76acf219ad339afcbec36dff (diff)
downloadparamano-c6a855363bfc59fbe197bba73bf64b5d920946a1.tar.xz
Completed debug stuff
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 2 insertions, 0 deletions
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;
}