Commit f0fed953 authored by Michael Jerris's avatar Michael Jerris Committed by Pekka Pessi

nua_server.c: don't assert on sr w/o msg status 500

parent 206e5ba9
......@@ -509,7 +509,10 @@ int nua_server_respond(nua_server_request_t *sr, tagi_t const *tags)
#endif
if (sr->sr_response.msg == NULL) {
assert(sr->sr_status == 500);
/* assert(sr->sr_status == 500); */
SU_DEBUG_0(("sr without msg, sr_status=%u", sr->sr_status));
if (sr->sr_status < 300 || sr->sr_status >= 700)
SR_STATUS1(sr, SIP_500_INTERNAL_SERVER_ERROR);
goto internal_error;
}
......
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