diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-08-19 10:12:20 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-08-19 10:12:20 +0000 |
commit | 4891e4a80b01b049cb80df71cf18cacd85cf2137 (patch) | |
tree | a81c1eb255466c1ec374118f060f2a90220884e0 /net/jit/files/patch-jabberd::mio_xml.c | |
parent | Add ejabberd 0.7, free and Open Source distributed fault-tolerant Jabber (diff) |
Add jit 1.1.6, jabber ICQ Transport.
PR: ports/69349
Submitted by: Alexander Timoshenko <gonzo@univ.kiev.ua>
Diffstat (limited to 'net/jit/files/patch-jabberd::mio_xml.c')
-rw-r--r-- | net/jit/files/patch-jabberd::mio_xml.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/jit/files/patch-jabberd::mio_xml.c b/net/jit/files/patch-jabberd::mio_xml.c new file mode 100644 index 000000000000..b747648bd84d --- /dev/null +++ b/net/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; + } + |