summaryrefslogtreecommitdiffstats
path: root/src/ussd.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-08-12 16:56:45 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-08-13 10:08:32 -0500
commit6f8acce8ec1a92d6b88dc0b695fc7fbfedac96ce (patch)
treec35981c46c27dcc6868acf9f7b5c97163ee99058 /src/ussd.c
parent8ac6aa52a96efa61fc8ec7ebe26d15a328e8f712 (diff)
downloadofono-6f8acce8ec1a92d6b88dc0b695fc7fbfedac96ce.tar.bz2
Make ss_control_register slightly more efficient
Diffstat (limited to 'src/ussd.c')
-rw-r--r--src/ussd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ussd.c b/src/ussd.c
index 6e31cb31..0f1aa27b 100644
--- a/src/ussd.c
+++ b/src/ussd.c
@@ -137,7 +137,7 @@ gboolean ss_control_register(struct ofono_modem *modem, const char *str,
if (!entry)
return FALSE;
- modem->ss_control_list = g_slist_append(modem->ss_control_list, entry);
+ modem->ss_control_list = g_slist_prepend(modem->ss_control_list, entry);
return TRUE;
}