diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2004-04-30 16:04:38 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2004-04-30 16:04:38 +0000 |
commit | f01c4343e07da48e415a8a4f82c355afa103fa7d (patch) | |
tree | 661b344bcbd05a1e47a55fdd87b46a93d0d97339 /devel/tla/files | |
parent | 6328c1047252c9e67e53f08771b696ff5c7998ac (diff) | |
download | ports-f01c4343e07da48e415a8a4f82c355afa103fa7d.tar.gz ports-f01c4343e07da48e415a8a4f82c355afa103fa7d.zip |
Notes
Diffstat (limited to 'devel/tla/files')
-rw-r--r-- | devel/tla/files/patch-libneon-ne_207.c | 17 | ||||
-rw-r--r-- | devel/tla/files/patch-libneon-ne_auth.c | 11 | ||||
-rw-r--r-- | devel/tla/files/patch-libneon-ne_locks.c | 20 | ||||
-rw-r--r-- | devel/tla/files/patch-libneon-ne_props.c | 11 | ||||
-rw-r--r-- | devel/tla/files/patch-libneon-ne_xml.c | 11 |
5 files changed, 70 insertions, 0 deletions
diff --git a/devel/tla/files/patch-libneon-ne_207.c b/devel/tla/files/patch-libneon-ne_207.c new file mode 100644 index 000000000000..961ae0fe329c --- /dev/null +++ b/devel/tla/files/patch-libneon-ne_207.c @@ -0,0 +1,17 @@ +--- ../tla/libneon.orig/ne_207.c Sat Dec 6 20:35:28 2003 ++++ ../tla/libneon/ne_207.c Sat Apr 17 20:25:46 2004 +@@ -320,12 +320,12 @@ + if (ne_get_status(req)->code == 207) { + if (!ne_xml_valid(p)) { + /* The parse was invalid */ +- ne_set_error(sess, ne_xml_get_error(p)); ++ ne_set_error(sess, "%s", ne_xml_get_error(p)); + ret = NE_ERROR; + } else if (ctx.is_error) { + /* If we've actually got any error information + * from the 207, then set that as the error */ +- ne_set_error(sess, ctx.buf->data); ++ ne_set_error(sess, "%s", ctx.buf->data); + ret = NE_ERROR; + } + } else if (ne_get_status(req)->klass != 2) { diff --git a/devel/tla/files/patch-libneon-ne_auth.c b/devel/tla/files/patch-libneon-ne_auth.c new file mode 100644 index 000000000000..1b4f7da06600 --- /dev/null +++ b/devel/tla/files/patch-libneon-ne_auth.c @@ -0,0 +1,11 @@ +--- ../tla/libneon.orig/ne_auth.c Sat Dec 6 20:35:28 2003 ++++ ../tla/libneon/ne_auth.c Sat Apr 17 20:11:55 2004 +@@ -950,7 +950,7 @@ + if (areq->auth_info_hdr != NULL && + verify_response(areq, sess, areq->auth_info_hdr)) { + NE_DEBUG(NE_DBG_HTTPAUTH, "Response authentication invalid.\n"); +- ne_set_error(sess->sess, _(sess->spec->fail_msg)); ++ ne_set_error(sess->sess, "%s", _(sess->spec->fail_msg)); + ret = NE_ERROR; + } else if (status->code == sess->spec->status_code && + areq->auth_hdr != NULL) { diff --git a/devel/tla/files/patch-libneon-ne_locks.c b/devel/tla/files/patch-libneon-ne_locks.c new file mode 100644 index 000000000000..26784fe47908 --- /dev/null +++ b/devel/tla/files/patch-libneon-ne_locks.c @@ -0,0 +1,20 @@ +--- ../tla/libneon.orig/ne_locks.c Sat Dec 6 20:35:28 2003 ++++ ../tla/libneon/ne_locks.c Sat Apr 17 20:11:55 2004 +@@ -734,7 +734,7 @@ + } + else if (parse_failed) { + ret = NE_ERROR; +- ne_set_error(sess, ne_xml_get_error(parser)); ++ ne_set_error(sess, "%s", ne_xml_get_error(parser)); + } + else if (ne_get_status(req)->code == 207) { + ret = NE_ERROR; +@@ -802,7 +802,7 @@ + if (ret == NE_OK && ne_get_status(req)->klass == 2) { + if (parse_failed) { + ret = NE_ERROR; +- ne_set_error(sess, ne_xml_get_error(parser)); ++ ne_set_error(sess, "%s", ne_xml_get_error(parser)); + } + else if (ne_get_status(req)->code == 207) { + ret = NE_ERROR; diff --git a/devel/tla/files/patch-libneon-ne_props.c b/devel/tla/files/patch-libneon-ne_props.c new file mode 100644 index 000000000000..c307849658f5 --- /dev/null +++ b/devel/tla/files/patch-libneon-ne_props.c @@ -0,0 +1,11 @@ +--- ../tla/libneon.orig/ne_props.c Sat Dec 6 20:35:28 2003 ++++ ../tla/libneon/ne_props.c Sat Apr 17 20:11:55 2004 +@@ -142,7 +142,7 @@ + if (ret == NE_OK && ne_get_status(req)->klass != 2) { + ret = NE_ERROR; + } else if (!ne_xml_valid(handler->parser)) { +- ne_set_error(handler->sess, ne_xml_get_error(handler->parser)); ++ ne_set_error(handler->sess, "%s", ne_xml_get_error(handler->parser)); + ret = NE_ERROR; + } + diff --git a/devel/tla/files/patch-libneon-ne_xml.c b/devel/tla/files/patch-libneon-ne_xml.c new file mode 100644 index 000000000000..240cba1b1ce2 --- /dev/null +++ b/devel/tla/files/patch-libneon-ne_xml.c @@ -0,0 +1,11 @@ +--- ../tla/libneon.orig/ne_xml.c Sat Dec 6 20:35:29 2003 ++++ ../tla/libneon/ne_xml.c Sat Apr 17 20:11:55 2004 +@@ -538,7 +538,7 @@ + + void ne_xml_set_error(ne_xml_parser *p, const char *msg) + { +- ne_snprintf(p->error, ERR_SIZE, msg); ++ ne_snprintf(p->error, ERR_SIZE, "%s", msg); + } + + #ifdef HAVE_LIBXML |