Skip to content
Snippets Groups Projects
Commit 2d387957 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix a small crash in SLPlugin

parent a886217b
No related branches found
No related tags found
No related merge requests found
...@@ -378,6 +378,12 @@ void LLPluginProcessParent::idle(void) ...@@ -378,6 +378,12 @@ void LLPluginProcessParent::idle(void)
apr_sockaddr_t* addr = NULL; apr_sockaddr_t* addr = NULL;
mListenSocket = LLSocket::create(gAPRPoolp, LLSocket::STREAM_TCP); mListenSocket = LLSocket::create(gAPRPoolp, LLSocket::STREAM_TCP);
mBoundPort = 0; mBoundPort = 0;
if (!mListenSocket)
{
killSockets();
errorState();
break;
}
// This code is based on parts of LLSocket::create() in lliosocket.cpp. // This code is based on parts of LLSocket::create() in lliosocket.cpp.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment