Commit c0ac78e0 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* More sane error handling in ipq.c

parent 04373fef
......@@ -297,13 +297,11 @@ void *IPQRunner(void *data)
if (status == 0)
continue;
// Fail if error
// Report error if we failed to grab the packet
if (status < 0)
{
logMessage(LOG_WARNING, "Failed to get packet from IPQ: %s\n",ipq_errstr());
// Lock, we dead... accept it!
destroyIPQHandle(runnerData->IPQHandle);
return(NULL);
continue;
}
// We must have a packet... check
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment