Skip to content
Snippets Groups Projects
Commit b702f9e9 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #13534: daemon: avoid name clash for ERROR registration state

parent 60cccd96
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ typedef enum { ...@@ -37,7 +37,7 @@ typedef enum {
UNREGISTERED, UNREGISTERED,
TRYING, TRYING,
REGISTERED, REGISTERED,
ERROR, ERROR_GENERIC,
ERROR_AUTH , ERROR_AUTH ,
ERROR_NETWORK , ERROR_NETWORK ,
ERROR_HOST, ERROR_HOST,
......
...@@ -1841,7 +1841,7 @@ void registration_cb(pjsip_regc_cbparam *param) ...@@ -1841,7 +1841,7 @@ void registration_cb(pjsip_regc_cbparam *param)
case PJSIP_SC_USE_PROXY: // 305 case PJSIP_SC_USE_PROXY: // 305
case PJSIP_SC_ALTERNATIVE_SERVICE: // 380 case PJSIP_SC_ALTERNATIVE_SERVICE: // 380
FAILURE_MESSAGE(); FAILURE_MESSAGE();
processRegistrationError(*account, ERROR); processRegistrationError(*account, ERROR_GENERIC);
break; break;
case PJSIP_SC_SERVICE_UNAVAILABLE: // 503 case PJSIP_SC_SERVICE_UNAVAILABLE: // 503
FAILURE_MESSAGE(); FAILURE_MESSAGE();
...@@ -1873,7 +1873,7 @@ void registration_cb(pjsip_regc_cbparam *param) ...@@ -1873,7 +1873,7 @@ void registration_cb(pjsip_regc_cbparam *param)
break; break;
default: default:
FAILURE_MESSAGE(); FAILURE_MESSAGE();
processRegistrationError(*account, ERROR); processRegistrationError(*account, ERROR_GENERIC);
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment