Commit f57db91b authored by Pekka Pessi's avatar Pekka Pessi

sdp.c: allow NULL in sdp session tag (like SOATAG_USER_SDP).

darcs-hash:20070223121205-55b16-d4ee29fef80472b0c413b1002a0e01e0b2005bf4.gz
parent 62fb050e
......@@ -1061,7 +1061,7 @@ tagi_t *sdptag_session_dup(tagi_t *dst, tagi_t const *src, void **bb)
b += STRUCT_ALIGN(b);
srcsdp = (sdp_session_t *)src->t_value;
sdp = session_dup(&b, srcsdp);
sdp = srcsdp ? session_dup(&b, srcsdp) : NULL;
dst->t_tag = src->t_tag;
dst->t_value = (tag_value_t)sdp;
......
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