projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497d6c3
)
* check for NULL pointers... Should we even come here?
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Sep 2010 09:41:43 +0000
(11:41 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Sep 2010 09:41:43 +0000
(11:41 +0200)
webcit/static.c
patch
|
blob
|
history
diff --git
a/webcit/static.c
b/webcit/static.c
index 1bac24a745886a1bd6255302613009a26a2cf254..46770bf1220de5bec6d05e2d02b291bc66262715 100644
(file)
--- a/
webcit/static.c
+++ b/
webcit/static.c
@@
-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))
{