aboutsummaryrefslogtreecommitdiff
path: root/config_file.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-09-01 17:31:09 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-09-01 17:31:09 +1200
commitb6338e7753d0862276d7ed38eab2a19d8b6544b6 (patch)
tree15ff198faf468bab10e351cd7c59d7bb3f06c8a4 /config_file.c
parent956a6261ebfdf8fb3346b8935d0ec59c1c26df7c (diff)
downloadparamano-b6338e7753d0862276d7ed38eab2a19d8b6544b6.tar.xz
Removed old debug swarf
Diffstat (limited to 'config_file.c')
-rw-r--r--config_file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/config_file.c b/config_file.c
index b085c4c..2faeaa3 100644
--- a/config_file.c
+++ b/config_file.c
@@ -21,25 +21,19 @@
gboolean config_open(struct config_file* config_file)
{
if(config_file->key_file)
- {
- debug("Freeing config_file->keyfile\n");
g_key_file_free(config_file->key_file);
- }
- debug("Creating new config_file->key_file\n");
config_file->key_file = g_key_file_new();
gboolean success = g_key_file_load_from_file(
config_file->key_file,
config_file->file_name,
G_KEY_FILE_NONE,
NULL);
- debug("Returning %s\n",success? "TRUE" : "FALSE");
return success;
}
void config_close(struct config_file* config_file)
{
- debug("Freeing key_file with %s value\n",config_file->key_file == NULL? "NULL":"non-NULL");
g_key_file_free(config_file->key_file);
}