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

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

darcs-hash:20061213001558-65a35-927ae9020992c27849952a9a787a9d32afa8dffc.gz
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