From: Maxim Mamontov Date: Mon, 12 Sep 2011 19:44:13 +0000 (+0300) Subject: Strange code removed X-Git-Tag: 2.408-rc1~77 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d8a86d32255422e0d3181a228bbe750db3636626 Strange code removed --- diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 81fc66e5..f1f20dc3 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -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;