openbsd-ports/devel/tla/patches/patch-tla_libneon_ne_auth_c
2010-05-19 23:29:14 +00:00

13 lines
645 B
Plaintext

$OpenBSD: patch-tla_libneon_ne_auth_c,v 1.2 2010/05/19 23:29:14 espie Exp $
--- tla/libneon/ne_auth.c.orig Sat Dec 6 20:35:28 2003
+++ tla/libneon/ne_auth.c Wed May 19 19:28:47 2010
@@ -950,7 +950,7 @@ static int ah_post_send(ne_request *req, void *cookie,
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) {