FS-5834 --resolve

This commit is contained in:
Tamas Cseke 2014-02-26 13:42:20 +01:00
parent e398ede28b
commit 41fbb451a1
1 changed files with 6 additions and 6 deletions

View File

@ -1157,12 +1157,12 @@ static switch_status_t handle_ref_tuple(listener_t *listener, erlang_msg * msg,
switch_thread_rwlock_unlock(listener->session_rwlock);
if (found) {
ei_x_encode_atom(rbuf, "ok");
} else {
return SWITCH_STATUS_FALSE;
}
ei_x_encode_tuple_header(rbuf, 2);
ei_x_encode_atom(rbuf, "error");
ei_x_encode_atom(rbuf, "notfound");
}
return SWITCH_STATUS_SUCCESS;
}