axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r519577 - /webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c
Date Sun, 18 Mar 2007 09:12:08 GMT
Author: kaushalye
Date: Sun Mar 18 02:12:07 2007
New Revision: 519577

URL: http://svn.apache.org/viewvc?view=rev&rev=519577
Log:
Fixed a mistake in the usage of AXIS2_STRCMP 


Modified:
    webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c?view=diff&rev=519577&r1=519576&r2=519577
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c Sun Mar 18 02:12:07 2007
@@ -485,16 +485,16 @@
     const axis2_char_t* algo
     )
 {
-   if (axis2_strcmp(algo, OXS_HREF_XML_C14N))
+   if (axis2_strcmp(algo, OXS_HREF_XML_C14N) == 0)
             return C14N_XML_C14N;
 
-   if (axis2_strcmp(algo, OXS_HREF_XML_C14N_WITH_COMMENTS))
+   if (axis2_strcmp(algo, OXS_HREF_XML_C14N_WITH_COMMENTS) == 0)
             return C14N_XML_C14N_WITH_COMMENTS;
 
-   if (axis2_strcmp(algo, OXS_HREF_XML_EXC_C14N))
+   if (axis2_strcmp(algo, OXS_HREF_XML_EXC_C14N) == 0)
             return C14N_XML_EXC_C14N;
 
-   if (axis2_strcmp(algo, OXS_HREF_XML_EXC_C14N_WITH_COMMENTS))
+   if (axis2_strcmp(algo, OXS_HREF_XML_EXC_C14N_WITH_COMMENTS) == 0)
             return C14N_XML_EXC_C14N_WITH_COMMENTS;
 
    return 0; /*c14n_algo_t enum starts with 1*/



---------------------------------------------------------------------
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