diff options
Diffstat (limited to 'src/userpref.c')
| -rw-r--r-- | src/userpref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userpref.c b/src/userpref.c index 399e054..f93cff4 100644 --- a/src/userpref.c +++ b/src/userpref.c | |||
| @@ -237,7 +237,7 @@ char* get_host_certificate() | |||
| 237 | 237 | ||
| 238 | int init_config_file(char* host_id, char* root_private_key, char* host_private_key, char* root_cert, char* host_cert) | 238 | int init_config_file(char* host_id, char* root_private_key, char* host_private_key, char* root_cert, char* host_cert) |
| 239 | { | 239 | { |
| 240 | if (!host_id || !root_private_key || !host_private_key) | 240 | if (!host_id || !root_private_key || !host_private_key || !root_cert || !host_cert) |
| 241 | return 0; | 241 | return 0; |
| 242 | 242 | ||
| 243 | gchar* config_file = g_build_path(G_DIR_SEPARATOR_S, g_get_user_config_dir(), LIBIPHONE_CONF_DIR, LIBIPHONE_CONF_FILE, NULL); | 243 | gchar* config_file = g_build_path(G_DIR_SEPARATOR_S, g_get_user_config_dir(), LIBIPHONE_CONF_DIR, LIBIPHONE_CONF_FILE, NULL); |
