summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2017-12-19 09:42:38 +0100
committerIngela Anderton Andin <ingela@erlang.org>2017-12-19 09:42:38 +0100
commit9cbab81f1a38f568fd0bf9738230ce2ebeab0191 (patch)
treec04cca801b9a6b391f24e232e506c7601649eda8
parent6661739422e8647e28dde4803e8a55f5f9625847 (diff)
parentf200ae114c8f3e274f74e9c707ba67c659ef2415 (diff)
downloaderlang-9cbab81f1a38f568fd0bf9738230ce2ebeab0191.tar.gz
Merge branch 'ingela/inets/httpc-tests' into maint
* ingela/inets/httpc-tests: inets: Add missing argument in httpc_SUITE
-rw-r--r--lib/inets/test/httpc_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl
index 03178b3b2e..2ad041cc0d 100644
--- a/lib/inets/test/httpc_SUITE.erl
+++ b/lib/inets/test/httpc_SUITE.erl
@@ -1556,7 +1556,7 @@ dummy_request_handler_loop({Module, Function, Args}, SockType, Socket) ->
handle_request(Module, Function, Args, Socket) ->
case Module:Function(Args) of
{ok, Result} ->
- case handle_http_msg(Result, Socket) of
+ case handle_http_msg(Result, Socket, []) of
stop ->
stop;
<<>> ->
@@ -1581,7 +1581,7 @@ handle_request(Module, Function, Args, Socket) ->
NewMFA
end.
-handle_http_msg({Method, RelUri, _, {_, Headers}, Body}, Socket) ->
+handle_http_msg({Method, RelUri, _, {_, Headers}, Body}, Socket, _) ->
ct:print("Request: ~p ~p", [Method, RelUri]),
NextRequest =