summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-10-08 12:57:01 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-10-08 12:57:26 -0500
commit1a6f392d8f8cc7dfecb69f83d45423c28683e83d (patch)
tree54e831d5f82d958e319912d9ece4c3406c0c4b2e
parent0063db3a74bfb593d35c28195aa2837722da0306 (diff)
downloadofono-1a6f392d8f8cc7dfecb69f83d45423c28683e83d.tar.bz2
Rename function to express its purpose better
-rw-r--r--src/voicecall.c4
1 files changed, 2 insertions, 2 deletions
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,