Line 0
Link Here
|
|
|
1 |
--- ../tla/libneon.orig/ne_207.c Sat Dec 6 20:35:28 2003 |
2 |
+++ ../tla/libneon/ne_207.c Sat Apr 17 20:25:46 2004 |
3 |
@@ -320,12 +320,12 @@ |
4 |
if (ne_get_status(req)->code == 207) { |
5 |
if (!ne_xml_valid(p)) { |
6 |
/* The parse was invalid */ |
7 |
- ne_set_error(sess, ne_xml_get_error(p)); |
8 |
+ ne_set_error(sess, "%s", ne_xml_get_error(p)); |
9 |
ret = NE_ERROR; |
10 |
} else if (ctx.is_error) { |
11 |
/* If we've actually got any error information |
12 |
* from the 207, then set that as the error */ |
13 |
- ne_set_error(sess, ctx.buf->data); |
14 |
+ ne_set_error(sess, "%s", ctx.buf->data); |
15 |
ret = NE_ERROR; |
16 |
} |
17 |
} else if (ne_get_status(req)->klass != 2) { |