summaryrefslogtreecommitdiff
path: root/dpi
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-01 14:30:08 +0200
committerjcid <devnull@localhost>2008-09-01 14:30:08 +0200
commite85601a0fdcfe825e84d6d8b79d4dfeca306c5f5 (patch)
tree894337662765342baaada46729196d647266e14b /dpi
parent2d396047ca0890b47cbcf8b0d2705c7e3c7f0288 (diff)
- Minor change in the file dpi.
Diffstat (limited to 'dpi')
-rw-r--r--dpi/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/file.c b/dpi/file.c
index a56eea81..67fb0e64 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -628,7 +628,7 @@ static int File_get_file(ClientInfo *Client,
/* Send HTTP headers */
if (gzipped) {
- sock_handler_printf(Client->sh, 0, "Content-Encoding: gzip\n");
+ sock_handler_write_str(Client->sh, 0, "Content-Encoding: gzip\n");
}
if (!gzipped || strcmp(ct, unknown_type)) {
sock_handler_printf(Client->sh, 0, "Content-Type: %s\n", ct);