From 25dcee759c5d145e9955efeaefcfb2b677b3dbb6 Mon Sep 17 00:00:00 2001 From: Richard Aas Date: Fri, 16 Dec 2011 17:37:05 +0000 Subject: [PATCH] init substate --- src/sipevent/notify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sipevent/notify.c b/src/sipevent/notify.c index 9160355..8c2fbf1 100644 --- a/src/sipevent/notify.c +++ b/src/sipevent/notify.c @@ -390,6 +390,7 @@ int sipevent_accept(struct sipnot **notp, struct sipevent_sock *sock, not->expires_min = expires_min; not->expires_dfl = expires_dfl; not->expires_max = expires_max; + not->substate = SIPEVENT_PENDING; not->sock = mem_ref(sock); not->sip = mem_ref(sock->sip); not->closeh = closeh ? closeh : internal_close_handler;