summaryrefslogtreecommitdiff
path: root/include/session.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2013-04-18 09:07:25 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-18 14:17:05 +0300
commitc6025eca557d82d9514108ede6ba0aa266746e64 (patch)
treea56a714d607384cf92498bca965d7617df3b35ac /include/session.h
parent1d1f9c7ccabdcaa74cdb5c4c791fc2bdb32ec42b (diff)
downloadconnman-c6025eca557d82d9514108ede6ba0aa266746e64.tar.gz
connman-c6025eca557d82d9514108ede6ba0aa266746e64.tar.bz2
connman-c6025eca557d82d9514108ede6ba0aa266746e64.zip
session: Do not fail when creating default policy configuration
Do not handle the small alloc failures because glib will abort when memory is tight anyway.
Diffstat (limited to 'include/session.h')
-rw-r--r--include/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/session.h b/include/session.h
index e77bd562..5b7e07bb 100644
--- a/include/session.h
+++ b/include/session.h
@@ -95,7 +95,7 @@ void connman_session_policy_unregister(struct connman_session_policy *config);
int connman_session_config_update(struct connman_session *session);
void connman_session_destroy(struct connman_session *session);
-int connman_session_set_default_config(struct connman_session_config *config);
+void connman_session_set_default_config(struct connman_session_config *config);
struct connman_session_config *connman_session_create_default_config(void);
enum connman_session_roaming_policy connman_session_parse_roaming_policy(const char *policy);