21 lines
597 B
Plaintext
Raw Normal View History

$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);
}