Commit b7fc7107 authored by Pekka Pessi's avatar Pekka Pessi

nua_params.c: removed suspicious code causing a warning.

darcs-hash:20060605120135-65a35-d5b080d9f65926bbce2456cfe3e3968f4a29f4b6.gz
parent 5b99945f
......@@ -419,8 +419,8 @@ int nua_stack_set_params(nua_t *nua, nua_handle_t *nh, nua_event_t e,
NHP_SET(nhp, service_route_enable, t->t_value != 0);
}
/* NUTAG_PATH_ENABLE(path_enable) */
else if (t->t_tag == nutag_path_enable != 0) {
NHP_SET(nhp, path_enable, t->t_value);
else if (t->t_tag == nutag_path_enable) {
NHP_SET(nhp, path_enable, t->t_value != 0);
}
/* NUTAG_SUBSTATE(substate) */
else if (t->t_tag == nutag_substate) {
......
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