openbsd-ports/russian/cyrproxy/patches/patch-http_gw_c
form 47c2fe5a52 Master site is alive.
New distfile.
md5 -> distinfo.
rename patches.
2001-11-27 10:06:50 +00:00

21 lines
597 B
Plaintext

$OpenBSD: patch-http_gw_c,v 1.1 2001/11/27 10:06:50 form Exp $
--- http_gw.c.orig Fri Feb 9 07:33:04 2001
+++ http_gw.c Tue Nov 27 15:37:42 2001
@@ -344,8 +344,6 @@ http_response(int netfd,encoding *enc)
char *p = strstr(buf,"charset=");
if(p)
sprintf(p,"charset=%s\n",enc->clientcharset);
-#if 0 /* commented out. I'm not sure, that we must force charset addition
- for documents, which not contains it! */
else
{
p=strchr(buf,'\n');
@@ -360,7 +358,6 @@ http_response(int netfd,encoding *enc)
strcat(buf,"\n");
}
}
-#endif
n=strlen(buf);
}