]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
* search absolute for the images on the server.
[citadel.git] / webcit / webcit.c
index e5b064934d1f9e4f3fbfccb65330a0fcea0ba6eb..28cb08a1bcc2c5720c2085584b74fc6247db0f9f 100644 (file)
@@ -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);
        }