From 50d96e4ad81a8b2a9d59162b9cb90e2cd1066c26 Mon Sep 17 00:00:00 2001 From: englebass Date: Tue, 22 Feb 2011 12:42:46 +0000 Subject: [PATCH] formatting git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@57237 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/efreet_desktop_cache_create.c | 20 ++++++++++---------- src/bin/efreet_icon_cache_create.c | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/bin/efreet_desktop_cache_create.c b/src/bin/efreet_desktop_cache_create.c index 28254e6..d4a721e 100644 --- a/src/bin/efreet_desktop_cache_create.c +++ b/src/bin/efreet_desktop_cache_create.c @@ -488,16 +488,16 @@ main(int argc, char **argv) /* touch update file */ if (changed) - { - snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get()); - tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); - if (tmpfd >= 0) - { - efreet_fsetowner(tmpfd); - if (write(tmpfd, "a", 1) != 1) perror("write"); - close(tmpfd); - } - } + { + snprintf(file, sizeof(file), "%s/efreet/desktop_data.update", efreet_cache_home_get()); + tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); + if (tmpfd >= 0) + { + efreet_fsetowner(tmpfd); + if (write(tmpfd, "a", 1) != 1) perror("write"); + close(tmpfd); + } + } EINA_LIST_FREE(scanned, dir) eina_stringshare_del(dir); diff --git a/src/bin/efreet_icon_cache_create.c b/src/bin/efreet_icon_cache_create.c index 10bfd6d..ba2fe6f 100644 --- a/src/bin/efreet_icon_cache_create.c +++ b/src/bin/efreet_icon_cache_create.c @@ -982,16 +982,16 @@ main(int argc, char **argv) /* touch update file */ if (changed) - { - snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get()); - tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); - if (tmpfd >= 0) - { - efreet_fsetowner(tmpfd); - write(tmpfd, "a", 1); - close(tmpfd); - } - } + { + snprintf(file, sizeof(file), "%s/efreet/icon_data.update", efreet_cache_home_get()); + tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); + if (tmpfd >= 0) + { + efreet_fsetowner(tmpfd); + write(tmpfd, "a", 1); + close(tmpfd); + } + } on_error_efreet: efreet_shutdown(); -- 2.7.4