Remove debugging printf()s.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 10 Apr 2005 23:17:05 +0000 (23:17 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 10 Apr 2005 23:17:05 +0000 (23:17 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14048 f5534014-38df-0310-8fa8-9805f1628bb7

editcap.c

index 4aeb78ac4a9a6ae7723bf305097b19018abb29c5..e4fb6d1b07cc33b4a08ca725f2dbfbd744538751 100644 (file)
--- a/editcap.c
+++ b/editcap.c
@@ -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;
                 }