]> git.stg.codes - stg.git/commitdiff
Strange code removed
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 12 Sep 2011 19:44:13 +0000 (22:44 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 12 Sep 2011 19:44:13 +0000 (22:44 +0300)
projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp

index 81fc66e5328b25583b4b66d6c890021aa5ca3659..f1f20dc343a5a920727368f60dc4781eb2a980a7 100644 (file)
@@ -1028,9 +1028,6 @@ sendAddr.sin_addr.s_addr = ip;
 
 int res = sendto(listenSocket, buffer, len, 0, (struct sockaddr*)&sendAddr, sizeof(sendAddr));
 
-static struct timeval tv;
-gettimeofday(&tv, NULL);
-
 if (res == len)
     return 0;