Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 160793 | Differences between
and this patch

Collapse All | Expand All

(-)libjabber-0.1/jconn.c.orig (+3 lines)
Lines 169-176 Link Here
169
    /* this is ugly, we can create the string here instead of jutil_header */
169
    /* this is ugly, we can create the string here instead of jutil_header */
170
    /* what do you think about it? -madcat */
170
    /* what do you think about it? -madcat */
171
    t2 = strstr(t,"/>");
171
    t2 = strstr(t,"/>");
172
	if (t2 != NULL)
173
	{
172
    *t2++ = '>';
174
    *t2++ = '>';
173
    *t2 = '\0';
175
    *t2 = '\0';
176
	}
174
    jab_send_raw(j,"<?xml version='1.0'?>");
177
    jab_send_raw(j,"<?xml version='1.0'?>");
175
    jab_send_raw(j,t);
178
    jab_send_raw(j,t);
176
    xmlnode_free(x);
179
    xmlnode_free(x);
(-)libjabber-0.1/xstream.c.orig (+3 lines)
Lines 210-218 Link Here
210
    spooler(s,"<?xml version='1.0'?>",xmlnode2str(x),s);
210
    spooler(s,"<?xml version='1.0'?>",xmlnode2str(x),s);
211
    head = spool_print(s);
211
    head = spool_print(s);
212
    fixr = strstr(head,"/>");
212
    fixr = strstr(head,"/>");
213
	if (fixr != NULL)
214
	{
213
    *fixr = '>';
215
    *fixr = '>';
214
    ++fixr;
216
    ++fixr;
215
    *fixr = '\0';
217
    *fixr = '\0';
218
	}
216
219
217
    return head;
220
    return head;
218
}
221
}

Return to bug 160793