Minor style corrections

This commit is contained in:
Nefarius
2014-06-22 20:16:50 +02:00
parent 91f0bb325e
commit 26d9746af0
2 changed files with 7 additions and 4 deletions
+3 -2
View File
@@ -298,7 +298,7 @@ cell_t SocketSetOption(IPluginContext *pContext, const cell_t *params) {
return false;
}
/*
#if 0
switch (params[2]) {
case ConcatenateCallbacks:
socket->setOption(ConcatenateCallbacks, value);
@@ -317,7 +317,8 @@ cell_t SocketSetOption(IPluginContext *pContext, const cell_t *params) {
sockets._debug = value != 0;
return 1;
...
}*/
}
#endif
}
+4 -2
View File
@@ -16,9 +16,11 @@ SocketWrapper::~SocketWrapper() {
case SM_SocketType_Udp:
delete (Socket<udp>*) socket;
break;
/*case SM_SocketType_Icmp:
#if 0
case SM_SocketType_Icmp:
delete (Socket<icmp>*) socket;
break;*/
break;
#endif
}
callbackHandler.RemoveCallbacks(this);