aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc/algol/parc_EventSocket.c
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2019-01-24 16:32:25 +0000
committerGerrit Code Review <gerrit@fd.io>2019-01-24 16:32:25 +0000
commit9fc2b9ec49c54ec2d5f0164bbedc1c78732c464c (patch)
treec7ebcf4c83b5c2f71318bc69c6f6915aaac7ae2a /libparc/parc/algol/parc_EventSocket.c
parentcada1143501a48effc483e3873596c22849926b5 (diff)
parent097e69e6daeefc84fd271babbdc1b47dfe4c01e5 (diff)
Merge "Add support for ubuntu18.04 packages."
Diffstat (limited to 'libparc/parc/algol/parc_EventSocket.c')
-rwxr-xr-xlibparc/parc/algol/parc_EventSocket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libparc/parc/algol/parc_EventSocket.c b/libparc/parc/algol/parc_EventSocket.c
index dcb2fd69..62aa10bc 100755
--- a/libparc/parc/algol/parc_EventSocket.c
+++ b/libparc/parc/algol/parc_EventSocket.c
@@ -17,7 +17,7 @@
*/
#include <config.h>
-#include <LongBow/runtime.h>
+#include <parc/assert/parc_Assert.h>
#include <parc/algol/parc_EventScheduler.h>
#include <parc/algol/parc_EventSocket.h>
@@ -87,7 +87,7 @@ parcEventSocket_Create(PARCEventScheduler *eventScheduler,
void *userData, const struct sockaddr *sa, int socklen)
{
PARCEventSocket *parcEventSocket = parcMemory_AllocateAndClear(sizeof(PARCEventSocket));
- assertNotNull(parcEventSocket, "parcMemory_Allocate(%zu) returned NULL", sizeof(PARCEventSocket));
+ parcAssertNotNull(parcEventSocket, "parcMemory_Allocate(%zu) returned NULL", sizeof(PARCEventSocket));
parcEventSocket->eventScheduler = eventScheduler;
parcEventSocket->socketCallback = callback;
@@ -118,7 +118,7 @@ parcEventSocket_Create(PARCEventScheduler *eventScheduler,
void
parcEventSocket_Destroy(PARCEventSocket **socketEvent)
{
- assertNotNull(*socketEvent, "parcEventSocket_Destroy must be passed a valid socketEvent!");
+ parcAssertNotNull(*socketEvent, "parcEventSocket_Destroy must be passed a valid socketEvent!");
if ((*socketEvent)->listener) {
evconnlistener_free((*socketEvent)->listener);