diff options
author | Fredrik Gustafsson <[email protected]> | 2013-04-15 10:32:15 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-04-15 10:32:15 +0200 |
commit | cec440ee7256741b61eaa32403db2989dcc23724 (patch) | |
tree | 58a87edeececf5dd25affca787759f319842c6ac | |
parent | 656b37f1b6fbc3611f5e0f8b8c0e4f61bef9092b (diff) | |
download | otp-cec440ee7256741b61eaa32403db2989dcc23724.tar.gz otp-cec440ee7256741b61eaa32403db2989dcc23724.tar.bz2 otp-cec440ee7256741b61eaa32403db2989dcc23724.zip |
inets: stop block timer with the right arguments
-rw-r--r-- | lib/inets/src/http_server/httpd_manager.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_server/httpd_manager.erl b/lib/inets/src/http_server/httpd_manager.erl index 672a70a394..c83d06a158 100644 --- a/lib/inets/src/http_server/httpd_manager.erl +++ b/lib/inets/src/http_server/httpd_manager.erl @@ -691,11 +691,11 @@ handle_unblock(S, FromA) -> handle_unblock(S, _FromA, unblocked) -> {ok,S}; handle_unblock(S, FromA, _AdminState) -> - stop_block_tmr(S#state.blocking_tmr), case S#state.blocking_tmr of - {_Tmr,FromB,Ref} -> + {Tmr,FromB,Ref} -> %% Another process is trying to unblock %% Inform the blocker + stop_block_tmr(Tmr), FromB ! {block_reply, {error,{unblocked,FromA}},Ref}; _ -> ok |