about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-03 23:46:20 +0000
committerJames Booth <boothj5@gmail.com>2013-02-03 23:46:20 +0000
commit2cea2639174d37f3bfe430b204734773bfeb1512 (patch)
tree2a060d331cbee2dbfbefd59023f654b7ddf581b0 /src/config
parent3c9155be2c3fb7e2fab00335ac33791822ba9d18 (diff)
downloadprofani-tty-2cea2639174d37f3bfe430b204734773bfeb1512.tar.gz
Added asserts
Diffstat (limited to 'src/config')
-rw-r--r--src/config/accounts.c2
-rw-r--r--src/config/preferences.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config/accounts.c b/src/config/accounts.c
index c51e01f5..e21fe1ad 100644
--- a/src/config/accounts.c
+++ b/src/config/accounts.c
@@ -428,7 +428,7 @@ accounts_get_priority_for_presence_type(const char * const account_name,
             result = 0;
             break;
     }
-    
+
     if (result < JABBER_PRIORITY_MIN || result > JABBER_PRIORITY_MAX)
         result = 0;
 
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 276e0841..0371ead3 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -133,7 +133,7 @@ prefs_get_string(preference_t pref)
     if (!g_key_file_has_key(prefs, group, key, NULL)) {
         return def;
     }
-    
+
     char *result = g_key_file_get_string(prefs, group, key, NULL);
 
     if (result == NULL) {