diff options
author | David <dbphillipsnz@gmail.com> | 2014-05-01 12:33:34 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-05-01 12:33:34 +1200 |
commit | c6a855363bfc59fbe197bba73bf64b5d920946a1 (patch) | |
tree | 4233a6c01283b4bb718d62dec240f33845aae7b1 /common.c | |
parent | fe30fcc86801beec76acf219ad339afcbec36dff (diff) | |
download | paramano-c6a855363bfc59fbe197bba73bf64b5d920946a1.tar.xz |
Completed debug stuff
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |