openbsd-ports/net/xmlrpc-c/patches/patch-src_xmlrpc_server_abyss_c
espie 31e4f1d7d2 xmlrpc C/C++ library, prereq for newer cmake.
Also, makes sense to take this code out, as some other stuff is bound
to want this at some point.

This library is incredibly sloppy engineering. Reasonably readable
code, looks sensible, but incredible lack of testing (doesn't even pass
its own testsuite on a stable release... and does a lot of things that
can't work outside of linux... makes you wonder who is actually using
this...)
2006-12-18 14:39:56 +00:00

14 lines
661 B
Plaintext

$OpenBSD: patch-src_xmlrpc_server_abyss_c,v 1.1.1.1 2006/12/18 14:39:56 espie Exp $
--- src/xmlrpc_server_abyss.c.orig Mon Dec 18 13:41:53 2006
+++ src/xmlrpc_server_abyss.c Mon Dec 18 13:42:15 2006
@@ -371,7 +371,8 @@ processCall(TSession * const abys
if (contentSize > xmlrpc_limit_get(XMLRPC_XML_SIZE_LIMIT_ID))
xmlrpc_env_set_fault_formatted(
&env, XMLRPC_LIMIT_EXCEEDED_ERROR,
- "XML-RPC request too large (%d bytes)", contentSize);
+ "XML-RPC request too large (%lu bytes)",
+ (unsigned long)contentSize);
else {
xmlrpc_mem_block *body;
/* Read XML data off the wire. */