Commit c5a35838 authored by Martti Mela's avatar Martti Mela

nea_sub_t tagged

darcs-hash:20051125160210-1b897-98b5437e7e96e9de691ed999059a77cbab36397d.gz
parent 9ee6c391
......@@ -405,6 +405,13 @@ NEA_DLL extern tag_typedef_t neatag_evmagic;
#define NEATAG_EVMAGIC_REF(x) neatag_evmagic_ref, tag_ptr_vr((&x), (x))
NEA_DLL extern tag_typedef_t neatag_evmagic_ref;
/** tag for nea_sub_t */
#define NEATAG_SUB(x) neatag_sub, tag_ptr_v((x))
NEA_DLL extern tag_typedef_t neatag_sub;
#define NEATAG_SUB_REF(x) neatag_sub_ref, tag_ptr_vr((&x), (x))
NEA_DLL extern tag_typedef_t neatag_sub_ref;
/* ====================================================================== */
/* Watcher side */
......
......@@ -58,5 +58,6 @@ tag_typedef_t neatag_version = INTTAG_TYPEDEF(version);
tag_typedef_t neatag_view = PTRTAG_TYPEDEF(view);
tag_typedef_t neatag_evmagic = PTRTAG_TYPEDEF(evmagic);
tag_typedef_t neatag_reliable = BOOLTAG_TYPEDEF(reliable);
tag_typedef_t neatag_sub = PTRTAG_TYPEDEF(sub);
tag_typedef_t neatag_strict_3265 = BOOLTAG_TYPEDEF(strict_3265);
......@@ -6530,7 +6530,9 @@ void authenticate_watcher(nea_server_t *nes,
irq = nea_subnode_get_incoming(sn);
msg = nta_incoming_getrequest(irq);
ua_event(nua, nh, msg, nua_i_subscription, SIP_200_OK, TAG_END());
ua_event(nua, nh, msg, nua_i_subscription, SIP_200_OK,
NEATAG_SUB(sn),
TAG_END());
if (sn->sn_state == nea_embryonic) {
SU_DEBUG_7(("nea: authenticate_watcher: new watcher\n"));
......
Markdown is supported
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