Commit 05521e9b authored by Pekka Pessi's avatar Pekka Pessi

sip/Makefile.am: added tags to <sofia-sip/sip_extra.h>

Added check for extra tags in torture_sip.c.

darcs-hash:20070920124532-65a35-ccfc0ffb0e9cb07c1fbd504abe1cf60a39c0c8ec.gz
parent 0c65f489
......@@ -148,4 +148,5 @@ sofia-sip/sip_extra.h: ${srcdir}/sofia-sip/sip_extra.h.in ${EXTRA}
PACKAGE_VERSION="${PACKAGE_VERSION}" \
TEMPLATE1=${srcdir}/sofia-sip/sip_hclasses.h.in \
TEMPLATE2=${srcdir}/sofia-sip/sip_protos.h.in \
TEMPLATE3=${srcdir}/sofia-sip/sip_tag.h.in \
TEMPLATE=${srcdir}/sofia-sip/sip_extra.h.in ${EXTRA}
......@@ -84,16 +84,20 @@ int test_url_headers(void)
sip_from_t const *f;
sip_accept_t const *ac;
sip_payload_t const *body;
sip_refer_sub_t rs[1];
TEST_1(home = su_home_new(sizeof *home));
sip_refer_sub_init(rs)->rs_value = "false";
s = sip_headers_as_url_query
(home,
SIPTAG_SUBJECT_STR(";"),
SIPTAG_SUBJECT_STR("kuik"),
SIPTAG_REFER_SUB(rs),
TAG_END());
TEST_1(s);
TEST_S(s, "subject=;");
TEST_S(s, "subject=kuik&refer-sub=false");
s = sip_headers_as_url_query
(home,
......
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