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 na...@apache.org on 2006/10/31 19:45:17 UTC

svn commit: r469604 - /webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c

Author: nandika
Date: Tue Oct 31 10:45:16 2006
New Revision: 469604

URL: http://svn.apache.org/viewvc?view=rev&rev=469604
Log:
adding "&" to rest request parameters fixed 

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

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c?view=diff&rev=469604&r1=469603&r2=469604
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c Tue Oct 31 10:45:16 2006
@@ -663,7 +663,11 @@
         axis2_char_t *pair = NULL;
 
         pair = AXIS2_ARRAY_LIST_GET(param_list, env, i);
-        tmp_string = AXIS2_STRACAT(param_string, pair, env);
+		if(i ==0)
+			tmp_string = AXIS2_STRACAT(param_string, pair, env);
+		else
+		tmp_string = axis2_strcat(env, param_string, "&", pair, NULL);				
+
         if (param_string)
         {
             AXIS2_FREE(env->allocator, param_string);



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