commit | 04be64835d98678dba475c27ef4505899a5ecc19 | [log] [tgz] |
---|---|---|
author | a64adam <a64adam@wd222yx4.memphis.edu> | Thu Jan 17 11:29:32 2013 -0600 |
committer | a64adam <a64adam@wd222yx4.memphis.edu> | Thu Jan 17 11:29:32 2013 -0600 |
tree | 038869a66a2e637505d695722737d11ff7d03b0c | |
parent | d6cd61d79d3daaf9b4205efa0c85e2da600634c5 [diff] [blame] |
Added checks on all printf statements (which did not already have it) to only print if debugging mode is enabled
diff --git a/nlsr-sync-0.0/nlsr_route.c b/nlsr-sync-0.0/nlsr_route.c index 8537b2e..25b99dc 100755 --- a/nlsr-sync-0.0/nlsr_route.c +++ b/nlsr-sync-0.0/nlsr_route.c
@@ -277,7 +277,9 @@ { if (parent[dest] != EMPTY_PARENT ) print_path(parent,parent[dest]); - printf(" %ld",dest); + + if ( nlsr->debugging ) + printf(" %ld",dest); } int