diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-04-10 23:17:05 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-04-10 23:17:05 +0000 |
commit | cd67d1fcf82b0a484fbf95cbe84d6bfeb83687ad (patch) | |
tree | b29138d1eec2a5334b64b5cef441ac25325b1ba5 | |
parent | af118c9e128cc47fc7a533106774e09047c46d99 (diff) |
Remove debugging printf()s.
svn path=/trunk/; revision=14048
-rw-r--r-- | editcap.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -439,7 +439,6 @@ int main(int argc, char *argv[]) err_type = rand() / (RAND_MAX / ERR_WT_TOTAL + 1); if (err_type < ERR_WT_BYTE) { -printf("err_wt_byte: %d\n", i); buf[i] = rand() / (RAND_MAX / 255 + 1); err_type = ERR_WT_TOTAL; } else { @@ -447,7 +446,6 @@ printf("err_wt_byte: %d\n", i); } if (err_type < ERR_WT_ALNUM) { -printf("err_wt_alnum: %d\n", i); buf[i] = ALNUM_CHARS[rand() / (RAND_MAX / ALNUM_LEN + 1)]; err_type = ERR_WT_TOTAL; } else { @@ -455,7 +453,6 @@ printf("err_wt_alnum: %d\n", i); } if (err_type < ERR_WT_FMT) { -printf("err_wt_fmt: %d\n", i); if (i < phdr->caplen - 2) strcpy(&buf[i], "%s"); err_type = ERR_WT_TOTAL; @@ -464,7 +461,6 @@ printf("err_wt_fmt: %d\n", i); } if (err_type < ERR_WT_AA) { -printf("err_wt_aa: %d\n", i); for (j = i; j < (int) phdr->caplen; j++) { buf[j] = 0xAA; } |