Make bad xml-rpc methods return xml error message rather than http error message, fixing #108

This commit is contained in:
Ron Pedde 2006-05-24 03:56:06 +00:00
parent 80f7c87567
commit 88999e7d49
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@
# include "config.h"
#endif
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <pthread.h>

View File

@ -313,7 +313,7 @@ void xml_handle(WS_CONNINFO *pwsc) {
return;
}
ws_returnerror(pwsc,500,"Invalid method");
xml_return_error(pwsc,500,"Invalid method");
return;
}