---
 src/emulator.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/emulator.c b/src/emulator.c
index ccb26dc..bda8f35 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -404,9 +404,9 @@ static gboolean notify_ccwa(void *user_data)
                        !em->ccwa)
                goto end;
 
-       c = find_call_with_status(em, CALL_STATUS_WAITING);
+       c = find_call_with_status(em, OFONO_CALL_STATUS_WAITING);
 
-       if (c && c->clip_validity == CLIP_VALIDITY_VALID) {
+       if (c && c->clip_validity == OFONO_CLIP_VALIDITY_VALID) {
                phone = phone_number_to_string(&c->phone_number);
                sprintf(str, "+CCWA: \"%s\",%d", phone, c->phone_number.type);
 
@@ -439,19 +439,19 @@ static gboolean notify_ring(void *user_data)
        if (!em->clip)
                return TRUE;
 
-       c = find_call_with_status(em, CALL_STATUS_INCOMING);
+       c = find_call_with_status(em, OFONO_CALL_STATUS_INCOMING);
 
        if (c == NULL)
                return TRUE;
 
        switch (c->clip_validity) {
-       case CLIP_VALIDITY_VALID:
+       case OFONO_CLIP_VALIDITY_VALID:
                phone = phone_number_to_string(&c->phone_number);
                sprintf(str, "+CLIP: \"%s\",%d", phone, c->phone_number.type);
                g_at_server_send_unsolicited(em->server, str);
                break;
 
-       case CLIP_VALIDITY_WITHHELD:
+       case OFONO_CLIP_VALIDITY_WITHHELD:
                g_at_server_send_unsolicited(em->server, "+CLIP: \"\",128");
                break;
        }
-- 
1.9.1

_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to