Permalink
Browse files

Fix response body variable

  • Loading branch information...
1 parent 778c346 commit 39ec8e2db96b949c110ee97cfdd24cc649ce2c0a @doxtop doxtop committed May 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/simple_sync/src/sync_adapter.erl
@@ -27,8 +27,8 @@ do(Req) ->
{[X|Acc], S}
end,
{XML, _Rest} = xmerl_scan:string(Body, [{space, normalize}, {acc_fun, Acc}]),
- Body = xmerl:export_simple([simple_sync:message(XML)], xmerl_xml),
- {proceed, [{response, {response, [{content_type, Val}], Body}}]};
+ ResponseBody = xmerl:export_simple([simple_sync:message(XML)], xmerl_xml),
+ {proceed, [{response, {response, [{content_type, Val}], ResponseBody}}]};
false ->
done
%return some error

0 comments on commit 39ec8e2

Please sign in to comment.