aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-04-10 23:17:05 +0000
committerGerald Combs <gerald@wireshark.org>2005-04-10 23:17:05 +0000
commitcd67d1fcf82b0a484fbf95cbe84d6bfeb83687ad (patch)
treeb29138d1eec2a5334b64b5cef441ac25325b1ba5
parentaf118c9e128cc47fc7a533106774e09047c46d99 (diff)
Remove debugging printf()s.
svn path=/trunk/; revision=14048
-rw-r--r--editcap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/editcap.c b/editcap.c
index 4aeb78ac4a..e4fb6d1b07 100644
--- 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;
}