Permalink
Browse files

I got rid of a bad reverse

  • Loading branch information...
Gershon Bialer
Gershon Bialer committed Jul 27, 2009
1 parent 9960c4c commit a8bfcb23d003e68f7394a0455285beeb0fbf9b09
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/lib/wf_comet.erl
View
@@ -154,10 +154,10 @@ comet_loop() ->
end.
%% collect_content/0 - Gather all content sent to this comet_loop.
-collect_content() -> lists:reverse(inner_collect_content()).
+collect_content() -> inner_collect_content().
inner_collect_content() ->
receive
{content, C} -> [C|inner_collect_content()]
after
0 -> []
- end.
+ end.

0 comments on commit a8bfcb2

Please sign in to comment.