From: Maxim Mamontov Date: Mon, 12 Sep 2011 09:38:24 +0000 (+0300) Subject: Dead code removed X-Git-Tag: 2.408-rc1~83 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/9eb38c7fb7d4384f82e3ce55071f90ff7d490063 Dead code removed --- diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 512584c7..a4b05433 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -552,16 +552,6 @@ if (bind(listenSocket, (struct sockaddr*)&listenAddr, sizeof(listenAddr)) < 0) return -1; } -/*int buffLen; -if (getsockopt(listenSocket, SOL_SOCKET, SO_SNDBUF, &buffLen, sizeof(buffLen)) < 0) - { - - errorStr = "Getsockopt failed. " + string(strerror(errno)); - return -1; - }*/ - -//WriteServLog("buffLen = %d", buffLen); - return 0; } //-----------------------------------------------------------------------------