[bwm-tools-devel] COMMIT - r84 - trunk/bwmd
Brought to you by:
nkukard
From: <sv...@li...> - 2006-03-06 10:01:06
|
Author: nkukard Date: 2006-03-06 09:30:54 +0000 (Mon, 06 Mar 2006) New Revision: 84 Modified: trunk/bwmd/ipq.c Log: * More sane error handling in ipq.c Modified: trunk/bwmd/ipq.c =================================================================== --- trunk/bwmd/ipq.c 2006-02-19 13:11:12 UTC (rev 83) +++ trunk/bwmd/ipq.c 2006-03-06 09:30:54 UTC (rev 84) @@ -297,13 +297,11 @@ 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 |