preprocessor errors

pull/1/head
Tom Early 6 years ago
parent b030baebdc
commit 7fff1c7e37

@ -79,7 +79,7 @@ bool CProtocol::Initialize(const char *type, uint16 port)
m_ReflectorCallsign.PatchCallsign(0, (const uint8 *)type, 3); m_ReflectorCallsign.PatchCallsign(0, (const uint8 *)type, 3);
// create our sockets // create our sockets
#ifdef LISSTEN_IPV4 #ifdef LISTEN_IPV4
CIp ip4(AF_INET, port, g_Reflector.GetListenIPv4()); CIp ip4(AF_INET, port, g_Reflector.GetListenIPv4());
if ( ip4.IsSet() ) if ( ip4.IsSet() )
{ {
@ -108,7 +108,7 @@ bool CProtocol::Initialize(const char *type, uint16 port)
#ifdef LISTEN_IPV4 #ifdef LISTEN_IPV4
m_Socket4.Close(); m_Socket4.Close();
#endif #endif
#ifdef LISTEN_IV6 #ifdef LISTEN_IPV6
m_Socket6.Close(); m_Socket6.Close();
#endif #endif
return false; return false;

Loading…
Cancel
Save

Powered by TurnKey Linux.