[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-cvs
Subject: svn commit: r469604 -
From: nandika () apache ! org
Date: 2006-10-31 18:45:17
Message-ID: 20061031184517.659701A984A () eris ! apache ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic