In webcit-classic, include webserver.h from webcit.h.
[citadel.git] / webcit / downloads.c
index 6e6c9b981b5ebf0acf8bc46dc664fc9630956acd..9b7dde993c47f254174d3040a2540292ece34b3a 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #include "webcit.h"
-#include "webserver.h"
+
 
 CtxType CTX_FILELIST = CTX_NONE;
 
@@ -414,10 +414,9 @@ void output_image(void)
        
        /*
         * Instead of an ugly 404, send a 1x1 transparent GIF
-        * when there's no such image on the server.
+        * when there's no such image on the server display blank
         */
-       StrBufPrintf (Buf, "%s%s", static_dirs[0], "/webcit_icons/blank.gif");
-       output_static(ChrPtr(Buf));
+       output_static(NULL);
        FreeStrBuf(&Buf);
 }