You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pi...@apache.org on 2007/11/15 10:21:44 UTC

svn commit: r595252 - /webservices/axis2/trunk/c/src/core/addr/any_content_type.c

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