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

index 512584c7e3ae45d6c71b69d719c4792718e2c630..a4b05433a15e5f51afc8cf74826b726568e1f351 100644 (file)
@@ -552,16 +552,6 @@ if (bind(listenSocket, (struct sockaddr*)&listenAddr, sizeof(listenAddr)) < 0)
     return -1;
     }
 
     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;
 }
 //-----------------------------------------------------------------------------
 return 0;
 }
 //-----------------------------------------------------------------------------