summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-08-30 13:56:14 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-04 12:05:15 +0300
commit3b93b48112dbb3339e4c458bbd9591b76e1af1e5 (patch)
treea690f222834dd450df25f97d3d4168e5f43557ee /src/config.c
parentdcba9d915ef9b4a6d38a05c2e900cce96e035d89 (diff)
downloadconnman-3b93b48112dbb3339e4c458bbd9591b76e1af1e5.tar.gz
connman-3b93b48112dbb3339e4c458bbd9591b76e1af1e5.tar.bz2
connman-3b93b48112dbb3339e4c458bbd9591b76e1af1e5.zip
Use g_slist_prepend() where appropriate
Convert usage of g_slist_append() to g_slist_prepend() where appropriate. gdbus, dnsproxy, resolver, rtnl, session and session unit test have ordering requirements and thus not touched.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index a3296743..9ea75f95 100644
--- a/src/config.c
+++ b/src/config.c
@@ -400,7 +400,7 @@ static int load_service(GKeyFile *keyfile, const char *group,
if (config->protected == TRUE)
protected_services =
- g_slist_append(protected_services, service);
+ g_slist_prepend(protected_services, service);
connman_info("Adding service configuration %s", service->ident);