aboutsummaryrefslogtreecommitdiff
path: root/net-im/jit/files/patch-jabberd::mio_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/jit/files/patch-jabberd::mio_xml.c')
-rw-r--r--net-im/jit/files/patch-jabberd::mio_xml.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-im/jit/files/patch-jabberd::mio_xml.c b/net-im/jit/files/patch-jabberd::mio_xml.c
new file mode 100644
index 000000000000..b747648bd84d
--- /dev/null
+++ b/net-im/jit/files/patch-jabberd::mio_xml.c
@@ -0,0 +1,24 @@
+--- jabberd/mio_xml.c.orig Tue Jul 6 19:06:24 2004
++++ jabberd/mio_xml.c Tue Jul 6 19:07:34 2004
+@@ -142,14 +142,13 @@
+ 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\n" \
++"Server: jabber/xmlstream-hack-0.1\n" \
++"Expires: Fri, 10 Oct 1997 10:10:10 GMT\n" \
++"Pragma: no-cache\n" \
++"Cache-control: private\n" \
++"Connection: close\n" \
++"\n", -1);
+ m->type = type_NORMAL;
+ }
+