]> granicus.if.org Git - apache/commitdiff
On EBCDIC machines, fix up the charset of the header terminator.
authorJeff Trawick <trawick@apache.org>
Thu, 28 Dec 2000 22:23:34 +0000 (22:23 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 28 Dec 2000 22:23:34 +0000 (22:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87542 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index 4025cf46f4480814d8e12871f727003a1eed6083..d95521abf2ce3dc952e841822a8e462ed8e104ed 100644 (file)
@@ -1922,6 +1922,7 @@ static void terminate_header(char *buf)
         headfield += strlen(tmp);
     }
     apr_cpystrn(headfield, CRLF, strlen(CRLF) + 1);
+    ap_xlate_proto_to_ascii(buf + len, strlen(buf + len));
 }
 
 /*