summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/jabberd/files/xml-stream-patch-00')
-rw-r--r--net-im/jabberd/files/xml-stream-patch-0017
1 files changed, 0 insertions, 17 deletions
diff --git a/net-im/jabberd/files/xml-stream-patch-00 b/net-im/jabberd/files/xml-stream-patch-00
deleted file mode 100644
index 9edb0d9a8073..000000000000
--- a/net-im/jabberd/files/xml-stream-patch-00
+++ /dev/null
@@ -1,17 +0,0 @@
---- error.c.old 2004-03-20 14:39:57.985636816 +0100
-+++ error.c 2004-03-20 14:40:42.025941672 +0100
-@@ -71,7 +71,13 @@
- len += sprintf(&(buf->data[len]), "<stream:error xmlns:stream='" uri_STREAMS "'><%s xmlns='" uri_STREAM_ERR "'/><text xmlns='" uri_STREAM_ERR "'>%s</text></stream:error>", _stream_errors[err], text);
-
- if(s->state < state_STREAM)
-- len += sprintf(&(buf->data[len]), "</stream:stream>");
-+ {
-+ char *streamend= "</stream:stream>";
-+ printf ("About to write %d bytes\n", strlen (streamend));
-+ // len += sprintf(&(buf->data[len]), "</stream:stream>");
-+ memcpy (&(buf->data[len]), streamend, strlen (streamend));
-+ len += strlen (streamend);
-+ }
-
- assert(len == buf->len);
-