From 1a6f392d8f8cc7dfecb69f83d45423c28683e83d Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 8 Oct 2009 12:57:01 -0500 Subject: Rename function to express its purpose better --- src/voicecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/voicecall.c') diff --git a/src/voicecall.c b/src/voicecall.c index bd5358c8..ef4c171a 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -551,7 +551,7 @@ static gboolean voicecalls_have_active(struct ofono_voicecall *vc) return FALSE; } -static gboolean voicecalls_have_connected(struct ofono_voicecall *vc) +static gboolean voicecalls_can_dtmf(struct ofono_voicecall *vc) { GSList *l; struct voicecall *v; @@ -1100,7 +1100,7 @@ static DBusMessage *manager_tone(DBusConnection *conn, return __ofono_error_not_implemented(msg); /* Send DTMFs only if we have at least one connected call */ - if (!voicecalls_have_connected(vc)) + if (!voicecalls_can_dtmf(vc)) return __ofono_error_failed(msg); if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &in_tones, -- cgit v1.2.3