axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r595252 - /webservices/axis2/trunk/c/src/core/addr/any_content_type.c
Date Thu, 15 Nov 2007 09:21:44 GMT
Author: pini
Date: Thu Nov 15 01:21:38 2007
New Revision: 595252

URL: http://svn.apache.org/viewvc?rev=595252&view=rev
Log:
Fixing jira issue 741

Modified:
    webservices/axis2/trunk/c/src/core/addr/any_content_type.c

Modified: webservices/axis2/trunk/c/src/core/addr/any_content_type.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/addr/any_content_type.c?rev=595252&r1=595251&r2=595252&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/addr/any_content_type.c (original)
+++ webservices/axis2/trunk/c/src/core/addr/any_content_type.c Thu Nov 15 01:21:38 2007
@@ -72,8 +72,13 @@
         name = axutil_qname_to_string((axutil_qname_t *) qname, env);
         axutil_hash_set(any_content_type->value_map, name,
                         AXIS2_HASH_KEY_STRING, value);
+        axis2_char_t *temp = NULL;
+        temp = axutil_hash_get(any_content_type->value_map, name,
+                               AXIS2_HASH_KEY_STRING);
+        if (temp)
+	    return AXIS2_SUCCESS;
     }
-    return AXIS2_SUCCESS;
+    return AXIS2_FAILURE;
 }
 
 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message