From addd3d15d609fafcfe54f4057b0d97512a80f930 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 20 Nov 2007 22:35:30 +0000 Subject: [PATCH] * search absolute for the images on the server. --- webcit/webcit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webcit/webcit.c b/webcit/webcit.c index e5b064934..28cb08a1b 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -739,7 +739,9 @@ void output_image() * Instead of an ugly 404, send a 1x1 transparent GIF * when there's no such image on the server. */ - output_static("static/blank.gif"); + char blank_gif[SIZ]; + snprintf (blank_gif, SIZ, "%s%s", static_dirs[0], "/blank.gif"); + output_static(blank_gif); } -- 2.39.2