Fix CBS routing request failure reporting

This commit is contained in:
Aki Niemi 2010-05-14 16:28:17 +03:00
parent bca2cdffbc
commit 6207f5bfce
1 changed files with 8 additions and 5 deletions

View File

@ -90,11 +90,14 @@ static bool routing_resp_cb(GIsiClient *client, const void *restrict data,
return false; return false;
if (msg[1] != SMS_OK) { if (msg[1] != SMS_OK) {
DBG("Request failed: 0x%02X (%s).\n\n Unable to bootstrap CBS" if (msg[1] == SMS_ERR_PP_RESERVED)
" routing.\n It appears some other component is" DBG("Request failed: 0x%02"PRIx8" (%s).\n\n "
" already\n registered as the CBS routing endpoint.\n " "Unable to bootstrap CBS routing.\n "
" As a consequence, receiving CBSs is NOT going" "It appears some other component is "
" to work.\n\n", msg[1], sms_isi_cause_name(msg[1])); "already\n registered as the CBS "
"routing endpoint.\n As a consequence, "
"receiving CBSs is NOT going to work.\n\n",
msg[1], sms_isi_cause_name(msg[1]));
return true; return true;
} }