Commit 77b124f5 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fixed invalid check by nua_stack_init_instance() in nua/nua_params.c.

parent 024cfde6
......@@ -182,7 +182,7 @@ int nua_stack_init_instance(nua_handle_t *nh, tagi_t const *tags)
if (instance != NONE) {
NHP_SET(nhp, instance, su_strdup(nh->nh_home, instance));
if (!instance && !nhp->nhp_instance)
if (instance && !nhp->nhp_instance)
return -1;
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