Permalink
Browse files

Fix Yaws recv_from_socket, fix dependencies.

  • Loading branch information...
1 parent 3984a14 commit 02ac81b5403f5379cd613561b0e6aca1a4e46db6 @rustyio rustyio committed with Torbjorn Tornkvist Nov 11, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 ebin/simple_bridge.app
  2. +1 −1 src/yaws_bridge_modules/yaws_request_bridge.erl
View
@@ -17,6 +17,6 @@
yaws_request_bridge,
yaws_response_bridge
]},
- {applications, [kernel, stdlib, sasl, inets]},
+ {applications, [kernel, stdlib, sasl]},
{registered, []}
]}.
@@ -93,7 +93,7 @@ request_body(Arg) ->
socket(Arg) ->
Arg#arg.clisock.
-recv_from_socket(Arg, Length, Timeout) ->
+recv_from_socket(Length, Timeout, Arg) ->
Socket = socket(Arg),
case gen_tcp:recv(Socket, Length, Timeout) of
{ok, Data} -> Data;

0 comments on commit 02ac81b

Please sign in to comment.