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 sa...@apache.org on 2006/01/19 09:32:05 UTC

svn commit: r370432 - /webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Author: samisa
Date: Thu Jan 19 00:32:01 2006
New Revision: 370432

URL: http://svn.apache.org/viewcvs?rev=370432&view=rev
Log:
Fixed the logic to get the operations map

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=370432&r1=370431&r2=370432&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Thu Jan 19 00:32:01 2006
@@ -566,11 +566,11 @@
 				void *op = NULL;
 				axis2_char_t *oname = NULL;
 				
-				/*ret = AXIS2_STRACAT(tmp2, "Available Operations <ul>", env);
+				ret = AXIS2_STRACAT(tmp2, "Available Operations <ul>", env);
 				AXIS2_FREE((*env)->allocator, tmp2);
                 tmp2 = ret;
 				for(hi2 = axis2_hash_first(ops, env); NULL != hi2;
-							axis2_hash_next(env, hi2))
+							hi2 = axis2_hash_next(env, hi2))
 				{
 					axis2_hash_this(hi2, NULL, NULL, &op);
 					oname = AXIS2_QNAME_GET_LOCALPART(AXIS2_OP_GET_QNAME(
@@ -588,7 +588,7 @@
 				}
 				ret = AXIS2_STRACAT(tmp2, "</ul>", env);
 				AXIS2_FREE((*env)->allocator, tmp2);
-                tmp = ret;*/
+                tmp2 = ret;
 			}
 			else
 			{
@@ -626,7 +626,7 @@
 	{
 		ret = AXIS2_STRDUP("<h2>There are no services deployed</h2>", env);
 	}
-	ret = AXIS2_STRACAT("<html><head><title>Axis2:Services</title></head><body>"
+	ret = AXIS2_STRACAT("<html><head><title>Axis2C :: Services</title></head><body>"
 							, tmp2, env);
 	/*AXIS2_FREE((*env)->allocator, tmp2);*/
     tmp2 = ret;