diff options
Diffstat (limited to 'mail/prayer/patches/patch-ag')
-rw-r--r-- | mail/prayer/patches/patch-ag | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mail/prayer/patches/patch-ag b/mail/prayer/patches/patch-ag deleted file mode 100644 index 81f23310dfa..00000000000 --- a/mail/prayer/patches/patch-ag +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ag,v 1.3 2010/06/08 12:34:38 adam Exp $ - ---- shared/response.c.orig 2008-09-16 11:59:58 +0200 -+++ shared/response.c 2010-05-01 21:21:55 +0200 -@@ -694,7 +694,12 @@ - } else - bputs(b, "Content-Type: text/plain" CRLF); - -- bprintf(b, "Content-Length: %lu" CRLF, sbuf.st_size); -+ /* Hack: cast sbuf.st_size to long here as we are only dealing -+ * with small files. Otherwise, we will send "Content-Length: 0" -+ * for the images from big-endian hosts where st_size is 64 bits, -+ * which confuses browsers. -+ */ -+ bprintf(b, "Content-Length: %lu" CRLF, (long)sbuf.st_size); - - /* Following stolen from Apache: - * |