diff options
author | Loïc Hoguin <[email protected]> | 2014-03-21 10:50:05 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-03-21 10:50:05 +0100 |
commit | fb6a0ae19a274a4f8cff8237aa86815e1c7dd5b8 (patch) | |
tree | 7ffc3db68e5acb0dc717ff47a45d9e847fb68840 /src | |
parent | 9c662615ace7e8b9c075e8a6a1752d849276b13d (diff) | |
download | gun-fb6a0ae19a274a4f8cff8237aa86815e1c7dd5b8.tar.gz gun-fb6a0ae19a274a4f8cff8237aa86815e1c7dd5b8.tar.bz2 gun-fb6a0ae19a274a4f8cff8237aa86815e1c7dd5b8.zip |
Fix a ws_loop/1 call
Diffstat (limited to 'src')
-rw-r--r-- | src/gun.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl index 16aa6a4..cea8006 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -418,7 +418,7 @@ ws_loop(State=#state{parent=Parent, owner=Owner, retry=Retry, socket=Socket, Any when is_tuple(Any), is_pid(element(2, Any)) -> element(2, Any) ! {gun_error, self(), {notowner, "Operations are restricted to the owner of the connection."}}, - loop(State); + ws_loop(State); Any -> error_logger:error_msg("Unexpected message: ~w~n", [Any]) end. |