diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2008-03-25 21:07:52 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2008-03-25 21:07:52 +0000 |
commit | bf9a9b83a5d6f62eb22a2c518379937df0cea2dd (patch) | |
tree | 7a15bb7cea01a6947032e35e87ffa44336f88f6a /editcap.c | |
parent | 7fe3f42d5a7b70c0c4183b9b91a533c337eb0730 (diff) |
Long time ago, I added these to troubleshoot a problem a user was seeing but I could not reproduce, as I had no feedback I forgot about removing these prints.
This must be copied over to the release branch.
svn path=/trunk/; revision=24727
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -191,14 +191,8 @@ selected(int recno) static gboolean check_timestamp(wtap *wth) { - static int i = 0; struct wtap_pkthdr* pkthdr = wtap_phdr(wth); - if (!((i++)%250)) - printf("== %d starttime=%lu stoptime=%lu ts=%lu\n",i, - (unsigned long)starttime, - (unsigned long)stoptime, - (unsigned long)pkthdr->ts.secs); return ( pkthdr->ts.secs >= starttime ) && ( pkthdr->ts.secs <= stoptime ); } @@ -546,7 +540,6 @@ main(int argc, char *argv[]) starttm.tm_isdst = -1; starttime = mktime(&starttm); - printf("=START=> given='%s' stoptime=%lu\n",optarg,(unsigned long)starttime); break; } @@ -563,7 +556,6 @@ main(int argc, char *argv[]) check_startstop = TRUE; stoptm.tm_isdst = -1; stoptime = mktime(&stoptm); - printf("=STOP=> given='%s' stoptime=%lu\n",optarg,(unsigned long)stoptime); break; } } @@ -590,14 +582,12 @@ main(int argc, char *argv[]) stoptm.tm_mon = 11; stoptime = mktime(&stoptm); - printf("=STOP=NEVER=> stoptime=%lu\n",(unsigned long)stoptime); } if (starttime > stoptime) { fprintf(stderr, "editcap: start time is after the stop time\n"); exit(1); } - printf("==> stoptime=%lu stoptime=%lu\n",(unsigned long)starttime,(unsigned long)stoptime); wth = wtap_open_offline(argv[optind], &err, &err_info, FALSE); |