X-Git-Url: http://rtime.felk.cvut.cz/gitweb/sojka/can-utils.git/blobdiff_plain/e7631bd7f94804962e48cde2e7de37370c31a8b8..HEAD:/canlogserver.c diff --git a/canlogserver.c b/canlogserver.c index 6aeb150..6ad2078 100644 --- a/canlogserver.c +++ b/canlogserver.c @@ -1,7 +1,3 @@ -/* - * $Id$ - */ - /* * canlogserver.c * @@ -190,7 +186,7 @@ int main(int argc, char **argv) const int canfd_on = 1; int nbytes, i, j, maxdlen; struct ifreq ifr; - struct timeval tv, last_tv; + struct timeval tv; int port = DEFPORT; struct sockaddr_in inaddr; struct sockaddr_in clientaddr; @@ -208,10 +204,6 @@ int main(int argc, char **argv) sigaction(SIGTERM, &signalaction, NULL); /* install Signal for termination */ sigaction(SIGINT, &signalaction, NULL); /* install Signal for termination */ - - last_tv.tv_sec = 0; - last_tv.tv_usec = 0; - while ((opt = getopt(argc, argv, "m:v:i:e:p:?")) != -1) { switch (opt) {