Commit b94408c0 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Not using NULL restart pointer in ua_authenticate().

parent 96a4d2e5
......@@ -6680,7 +6680,8 @@ ua_authenticate(nua_t *nua, nua_handle_t *nh, nua_event_t e,
nh->nh_ss->ss_crequest->cr_restart = NULL;
restart(nh, (tagi_t *)tags); /* Restart operation */
if (restart)
restart(nh, (tagi_t *)tags); /* Restart operation */
else if (status < 0) {
ua_event(nua, nh, NULL, e, 500, "Cannot add credentials", TAG_END());
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