2007/10/24, Jerry Richards <[EMAIL PROTECTED]>:
> Any idea why I'm getting an assertion in tl_gets()?  It happens upon an
> nua_i_subscription event where I invoke the following:

>         enum nua_substate tSubscribeState;
>         tl_gets(tags, NUTAG_SUBSTATE(tSubscribeState), TAG_END());

> The assertion looks like:

> ../../../libsofia-sip-ua/su/su_taglist.c 414: tl_gets: Assertion
> 'tt->tt_class == ref_tag_class' failed.

The function tl_gets expects that all the tags are of REF-variant. The
assert() is there for your protection. There has been way too many
bugs when I have forgot to use _ref there in tl_gets() argument (and
the resulting tag is simply ignored).

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to