summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-16 17:55:25 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-16 17:55:25 +0100
commit15b8e8322839082187d45cd3de8ceb99197d86bc (patch)
tree66acde85d8842a278fcca4463bb84c011ac7dbc2 /src
parent6c76206d10a0e1c04f78d3e1c9e9a22d32c6a179 (diff)
imlib.c: Fix segfault introdused by talisein's patch.
Diffstat (limited to 'src')
-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) {