Commit 8fdb23ec authored by Pekka Pessi's avatar Pekka Pessi
Browse files

sip_tag_class.c: sip_add_tl() and sip_add_tagis() now accept NULL as sip argument.

parent e240da39
......@@ -190,6 +190,9 @@ int sip_add_tagis(msg_t *msg, sip_t *sip, tagi_t const **inout_list)
if (!msg || !inout_list)
return -1;
if (sip == NULL)
sip = sip_object(msg);
for (t = *inout_list; t; t = t_next(t)) {
tag = t->t_tag, value = t->t_value;
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