[Freeswitch-svn] [commit] r8671 - freeswitch/trunk/src/mod/xml_int/mod_xml_rpc

Freeswitch SVN mikej at freeswitch.org
Mon May 26 14:11:00 EDT 2008


Author: mikej
Date: Mon May 26 14:11:00 2008
New Revision: 8671

Modified:
   freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c

Log:
tweak for picky compiler

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c	Mon May 26 14:11:00 2008
@@ -162,13 +162,13 @@
     p = RequestHeaderValue(r, "authorization");
 
     if (p) {
-        NextToken((const char **)&p);
+        NextToken((const char ** const)&p);
         x = GetToken(&p);
         if (x) {
             if (!strcasecmp(x, "basic")) {
 
 
-                NextToken((const char **)&p);
+                NextToken((const char ** const)&p);
 				switch_b64_decode(p, user, sizeof(user));
 				if ((pass = strchr(user, ':'))) {
 					*pass++ = '\0';



More information about the Freeswitch-svn mailing list