Commit 145cef6e authored by Pekka Pessi's avatar Pekka Pessi
Browse files

soa_static.c: mark m

darcs-hash:20080512174733-65a35-5e2a32b7ddf299b00c20db8395c86d7eb2f65eb0.gz
parent 44967b46
......@@ -1026,7 +1026,12 @@ int soa_sdp_mode_set(sdp_session_t const *user,
for (j = 0, um = user->sdp_media; j != s2u[i]; um = um->m_next, j++)
assert(um);
assert(um);
if (um == NULL) {
sm->m_rejected = 1;
sm->m_mode = sdp_inactive;
retval = 1;
continue;
}
send_mode = um->m_mode & sdp_sendonly;
if (rm)
......
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