summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 20:35:42 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-15 20:35:42 -0300
commitc1490c67514c14519a376191bb7d7fb9189016cf (patch)
tree4314fa0a58e609b1322791e5861aa1cd919d0a2f /src/voicecall.c
parent8cdc453b2b459854b98488b1f9af6fd45192166d (diff)
downloadofono-c1490c67514c14519a376191bb7d7fb9189016cf.tar.bz2
voicecall: Avoid shadowing of number variable
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 37831fea..b4ba23f7 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -2281,9 +2281,9 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc,
if (vc->flags & VOICECALL_FLAG_STK_MODEM_CALLSETUP) {
struct dial_request *req = vc->dial_req;
- const char *number = phone_number_to_string(&req->ph);
+ const char *phone_number = phone_number_to_string(&req->ph);
- if (!strcmp(number, "112"))
+ if (!strcmp(phone_number, "112"))
__ofono_modem_inc_emergency_mode(modem);
if (v->call->clip_validity == CLIP_VALIDITY_NOT_AVAILABLE) {