From: Wilfried Göesgens Date: Tue, 20 Nov 2007 22:35:30 +0000 (+0000) Subject: * search absolute for the images on the server. X-Git-Tag: v7.86~2766 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=addd3d15d609fafcfe54f4057b0d97512a80f930;p=citadel.git * search absolute for the images on the server. --- 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); }