--- jit-1.1.6/jabberd/mio_xml.c.orig-uglystr 2002-12-17 16:40:09 +0300 +++ jit-1.1.6/jabberd/mio_xml.c 2003-12-31 12:45:08 +0300 @@ -142,14 +142,14 @@ nul += 4; bufsz = bufsz - (nul - buf); buf = nul; - mio_write(m,NULL,"HTTP/1.0 200 Ok -Server: jabber/xmlstream-hack-0.1 -Expires: Fri, 10 Oct 1997 10:10:10 GMT -Pragma: no-cache -Cache-control: private -Connection: close - -",-1); + mio_write(m,NULL,"HTTP/1.0 200 Ok\r\n" +"Server: jabber/xmlstream-hack-0.1\r\n" +"Expires: Fri, 10 Oct 1997 10:10:10 GMT\r\n" +"Pragma: no-cache\r\n" +"Cache-control: private\r\n" +"Connection: close\r\n" +"\r\n" +,-1); m->type = type_NORMAL; }