]>
Commit | Line | Data |
---|---|---|
c7926aa4 MK |
1 | Bug-Debian: http://bugs.debian.org/713596 |
2 | Index: gdome2-0.8.1+debian/libgdome/gdomecore/gdome-xml-documentt.c | |
3 | =================================================================== | |
4 | --- gdome2-0.8.1+debian.orig/libgdome/gdomecore/gdome-xml-documentt.c 2003-07-13 14:47:54.000000000 +0400 | |
5 | +++ gdome2-0.8.1+debian/libgdome/gdomecore/gdome-xml-documentt.c 2013-07-02 14:09:18.304613703 +0400 | |
6 | @@ -342,7 +342,7 @@ | |
7 | } | |
8 | xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL); | |
9 | xmlOutputBufferFlush(out_buff); | |
10 | - ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use); | |
11 | + ret = g_strndup (xmlBufContent(out_buff), xmlBufUse(out_buff)); | |
12 | (void)xmlOutputBufferClose(out_buff); | |
13 | ||
14 | return gdome_xml_str_mkref_own (ret); |