axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r1044760 - /axis/axis2/c/savan/trunk/src/client/savan_client.c
Date Sun, 12 Dec 2010 03:18:46 GMT
Author: damitha
Date: Sun Dec 12 03:18:46 2010
New Revision: 1044760

URL: http://svn.apache.org/viewvc?rev=1044760&view=rev
Log:
In get_status wrong element is passed get get_first_child_with_qname. Fixed it

Modified:
    axis/axis2/c/savan/trunk/src/client/savan_client.c

Modified: axis/axis2/c/savan/trunk/src/client/savan_client.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/savan/trunk/src/client/savan_client.c?rev=1044760&r1=1044759&r2=1044760&view=diff
==============================================================================
--- axis/axis2/c/savan/trunk/src/client/savan_client.c (original)
+++ axis/axis2/c/savan/trunk/src/client/savan_client.c Sun Dec 12 03:18:46 2010
@@ -324,7 +324,6 @@ savan_client_get_status(
     axiom_node_t *status_node = NULL;
     axiom_node_t *expires_node = NULL;
     axiom_element_t *status_elem = NULL;
-    axiom_element_t *renew_elem = NULL;
     axiom_element_t *expires_elem = NULL;
     axis2_char_t *expires = NULL;
     axis2_char_t *status_elem_localname = NULL;
@@ -371,7 +370,7 @@ savan_client_get_status(
     
     /* Now read Expires sub element */
     qname = axutil_qname_create(env, ELEM_NAME_EXPIRES, EVENTING_NAMESPACE, NULL);
-    expires_elem = axiom_element_get_first_child_with_qname(renew_elem, env, qname, reply,

+    expires_elem = axiom_element_get_first_child_with_qname(status_elem, env, qname, reply,

             &expires_node);
     axutil_qname_free(qname, env);
     if(!expires_node)



Mime
View raw message