final touches on dkim test harness
[citadel.git] / webcit / bbsview_renderer.c
index aefcccf955c39148f23b8e406c6470922617fc1b..d06045d0bdeddafe264f7a0333860df8d3827490 100644 (file)
@@ -20,7 +20,7 @@
 #define RANGE 5
 
 #include "webcit.h"
-#include "webserver.h"
+
 #include "dav.h"
 
 /*
@@ -285,7 +285,7 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat,
                                        }
                                }
                                if (BBS->msgs[i] > 0L) {
-                                       read_message(WC->WBuf, HKEY("view_message"), BBS->msgs[i], NULL, &Mime);
+                                       read_message(WC->WBuf, HKEY("view_message"), BBS->msgs[i], NULL, &Mime, NULL);
                                }
                                if (
                                        (i == (BBS->num_msgs - 1))
@@ -417,6 +417,7 @@ InitModule_BBSVIEWRENDERERS
                NULL, 
                bbsview_LoadMsgFromServer,
                bbsview_RenderView_or_Tail,
-               bbsview_Cleanup
+               bbsview_Cleanup,
+               NULL
        );
 }