Module: sip-router
Branch: master
Commit: 881ee61c85f66767e0e8988e0a98205abbc7f9e9
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=881ee61c85f66767e0e8988e0a98205abbc7f9e9

Author: Jason Penton <[email protected]>
Committer: Jason Penton <[email protected]>
Date:   Fri Aug 24 09:48:46 2012 +0200

Revert "xmlrpc: more correct re XMLRPC spec re. no type specified, defaults to 
string"

This reverts commit 35e5e50c8f624ab70ef095bdbc729861b4a0a749.

---

 modules/xmlrpc/xmlrpc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index 8f865ba..aa5d3aa 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -1140,7 +1140,7 @@ enum xmlrpc_val_type{
  */
 static enum xmlrpc_val_type xml_get_type(xmlNodePtr value)
 {
-       if (!xmlStrcmp(value->name, BAD_CAST "string") || 
!xmlStrcmp(value->name, BAD_CAST "text")){
+       if (!xmlStrcmp(value->name, BAD_CAST "string")){
                return XML_T_STR;
        } else if ( !xmlStrcmp(value->name, BAD_CAST "i4") ||
                                !xmlStrcmp(value->name, BAD_CAST "int")) {


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to