summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index dc46d4e..9f3437b 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -455,7 +455,7 @@ char *feh_http_load_image(char *url)
return NULL;
}
- sfn = estrjoin("_", tmpname, "XXXXXX");
+ sfn = estrjoin("_", tmpname, "XXXXXX", NULL);
free(tmpname);
fd = mkstemp(sfn);
if (fd != -1) {