* check for NULL pointers... Should we even come here?
[citadel.git] / webcit / static.c
index 1bac24a745886a1bd6255302613009a26a2cf254..46770bf1220de5bec6d05e2d02b291bc66262715 100644 (file)
@@ -223,6 +223,8 @@ void output_flat_static(void)
        void *vFile;
        StrBuf *File;
 
+       if (WCC->Hdr->HR.Handler == NULL)
+               return;
        if (GetHash(StaticFilemappings[0], SKEY(WCC->Hdr->HR.Handler->Name), &vFile) &&
            (vFile != NULL))
        {