From: Denis Kenzior Date: Thu, 8 Oct 2009 17:57:01 +0000 (-0500) Subject: Rename function to express its purpose better X-Git-Tag: 0.8~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a6f392d8f8cc7dfecb69f83d45423c28683e83d;p=platform%2Fupstream%2Fofono.git Rename function to express its purpose better --- diff --git a/src/voicecall.c b/src/voicecall.c index bd5358c..ef4c171 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,