[maemo-commits] [maemo-commits] r16146 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 17 11:07:26 EEST 2008
- Previous message: [maemo-commits] r16145 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r16147 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-09-17 11:07:25 +0300 (Wed, 17 Sep 2008) New Revision: 16146 Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c Log: Bugfix Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c 2008-09-17 08:06:37 UTC (rev 16145) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c 2008-09-17 08:07:25 UTC (rev 16146) @@ -127,7 +127,7 @@ for (filen = g_dir_read_name (dir); filen; filen = g_dir_read_name (dir)) { GKeyFile *keyfile; - gchar *fullfilen = g_build_filename (path, filen, NULL); + gchar *fullfilen; gchar *value; GStrv values; GError *error = NULL; @@ -136,12 +136,12 @@ GFileInfo *info; GFile *file; - if (strcmp (fullfilen, "overrides") == 0) { + if (strcmp (filen, "overrides") == 0) { has_override = TRUE; - g_free (fullfilen); continue; } + fullfilen = g_build_filename (path, filen, NULL); keyfile = g_key_file_new (); if (!g_key_file_load_from_file (keyfile, fullfilen, G_KEY_FILE_NONE, NULL)) {
- Previous message: [maemo-commits] r16145 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r16147 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]