X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=sersniff.c;h=64e05767fbfa0a3813bc8e68d9015e230e983ef9;hb=7d8353acd4bee166bfa45ae38f3657c783faf106;hp=f12faf44de92841c28e7e339912713f4be6b7eb0;hpb=ae4ffd933db55029b0f5b5fbc8e1e8a0cc265c38;p=sersniff.git diff --git a/sersniff.c b/sersniff.c index f12faf4..64e0576 100644 --- a/sersniff.c +++ b/sersniff.c @@ -128,7 +128,6 @@ void outputchar(unsigned char c, int port, int alpha, void mainloop(int port1, int port2, int silent, int alpha, long usec_threshold, char *name1, char *name2, char *format) { unsigned char c1, c2; - int last; int rc; fd_set rfds; fd_set efds; @@ -142,7 +141,6 @@ void mainloop(int port1, int port2, int silent, int alpha, long usec_threshold, /* need the largest fd for the select call */ biggestfd=port1 > port2 ? port1 : port2; biggestfd++; - last=0; while (!quit) { /* reset the select set */