init substate

This commit is contained in:
Richard Aas 2011-12-16 17:37:05 +00:00
parent eb955d3d82
commit 25dcee759c

View file

@ -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;