aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-16 23:25:56 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:09:00 +0800
commit777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1 (patch)
treedfab9ca8f30c7b1539f86dfe19b8bf761d6a899c /e-util/e-mktemp.c
parent83675abbc2b3a3bc6421094a56651d021fc0cdcd (diff)
downloadgsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.gz
gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.zst
gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util/e-mktemp.c')
-rw-r--r--e-util/e-mktemp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c
index 2ce5a6717c..af9327f471 100644
--- a/e-util/e-mktemp.c
+++ b/e-util/e-mktemp.c
@@ -49,7 +49,8 @@
#define TEMP_SCAN (60)
static gint
-expire_dir_rec (const gchar *base, time_t now)
+expire_dir_rec (const gchar *base,
+ time_t now)
{
GDir *dir;
const gchar *d;
@@ -157,7 +158,7 @@ get_dir (gboolean make)
d(printf("temp dir '%s'\n", path ? path->str : "(null)"));
/* fire off an expiry attempt no more often than TEMP_SCAN seconds */
- if (path && (last+TEMP_SCAN) < now) {
+ if (path && (last + TEMP_SCAN) < now) {
last = now;
expire_dir_rec (path->str, now);
}