Commit 7cd7806c authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nua_client_create: fix check for su_msg

MeeGo Coverity issue CID#7648
parent 1752a481
......@@ -174,7 +174,7 @@ int nua_client_create(nua_handle_t *nh,
if (tags) {
nua_move_signal(cr->cr_signal, nh->nh_nua->nua_signal);
if (cr->cr_signal) {
if (cr->cr_signal[0]) {
/* Steal reference from signal */
cr->cr_owner = e->e_nh, e->e_nh = NULL;
cr->cr_tags = tags;
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