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

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

darcs-hash:20060503135441-65a35-269ddc0d3b1ddd5e75aaa420e6d972713298dbea.gz
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