projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d830658
)
* search absolute for the images on the server.
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 20 Nov 2007 22:35:30 +0000
(22:35 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 20 Nov 2007 22:35:30 +0000
(22:35 +0000)
webcit/webcit.c
patch
|
blob
|
history
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index e5b064934d1f9e4f3fbfccb65330a0fcea0ba6eb..28cb08a1bcc2c5720c2085584b74fc6247db0f9f 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-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);
}