aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-mktemp.c')
-rw-r--r--e-util/e-mktemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c
index f9841e0629..02a3e784fd 100644
--- a/e-util/e-mktemp.c
+++ b/e-util/e-mktemp.c
@@ -105,7 +105,7 @@ static GString *
get_dir (gboolean make)
{
GString *path;
- time_t now = time(0);
+ time_t now = time(NULL);
static time_t last = 0;
#ifdef TEMP_HOME