diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-09-04 08:47:23 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-09-04 08:47:23 +0000 |
commit | e1ef1b1ef42e8e2b62488624c6a44c6db63e4895 (patch) | |
tree | 1fcabf75c64b2c65389b0b129abefc2a982cdf69 /libiptc | |
parent | 54c307e0ff401f40a6fe382af4ae5bff0f5b40ba (diff) |
More debugging.
Diffstat (limited to 'libiptc')
-rw-r--r-- | libiptc/libiptc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index 60c676c8..c7dffcae 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -1445,6 +1445,11 @@ subtract_counters(STRUCT_COUNTERS *answer, { answer->pcnt = a->pcnt - b->pcnt; answer->bcnt = a->bcnt - b->bcnt; + + fprintf(stderr, "pcnt: %llu - %llu = %llu\n", + a->pcnt, b->pcnt answer->pcnt); + fprintf(stderr, "bcnt: %llu - %llu = %llu\n", + a->bcnt, b->bcnt answer->bcnt); } int |