[Freeswitch-svn] [commit] r8668 - freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc
Freeswitch SVN
lukedashjr at freeswitch.org
Mon May 26 13:51:10 EDT 2008
Author: lukedashjr
Date: Mon May 26 13:51:10 2008
New Revision: 8668
Added:
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/bool.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/util/include/bool.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/conn.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/abyss/src/conn.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/data.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/abyss/src/data.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/date.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/abyss/src/date.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/http.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/abyss/src/http.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/int.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/util/include/int.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/session.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/abyss/src/session.h
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/thread.h
- copied unchanged from r8663, /freeswitch/branches/lukedashjr/syslibs/libs/xmlrpc-c/lib/abyss/src/thread.h
Modified:
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c
Log:
xmlrpc-c builds
Modified: freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c
==============================================================================
--- freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c (original)
+++ freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c Mon May 26 13:51:10 2008
@@ -39,7 +39,9 @@
#include <xmlrpc-c/abyss.h>
#include <xmlrpc-c/server.h>
#include <xmlrpc-c/server_abyss.h>
-#include "token.h" /* NOTE: From xmlrpc-c's internals */
+
+/* NOTE: Taken from xmlrpc-c's internals: */
+#include "token.h"
#include "http.h"
#include "session.h"
@@ -162,13 +164,13 @@
p = RequestHeaderValue(r, "authorization");
if (p) {
- NextToken((const char **)&p);
+ NextToken((char ** const)&p);
x = GetToken(&p);
if (x) {
if (!strcasecmp(x, "basic")) {
- NextToken((const char **)&p);
+ NextToken((char ** const)&p);
switch_b64_decode(p, user, sizeof(user));
if ((pass = strchr(user, ':'))) {
*pass++ = '\0';
More information about the Freeswitch-svn
mailing list