diff options
author | Ingela Anderton Andin <[email protected]> | 2018-11-02 09:30:21 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-11-02 09:30:21 +0100 |
commit | 69797ce56c590125a664b24e16e4e6691d948883 (patch) | |
tree | 9ce8e7739bf95317d8a0c926720f3240febdd8d9 /lib/ssl/src/ssl_connection.erl | |
parent | 32f1d0a39d6c6c5c53e0273bff89d71946ba31e5 (diff) | |
parent | f9aa2fbb81470e9d58efe2cff7e394888c14a779 (diff) | |
download | otp-69797ce56c590125a664b24e16e4e6691d948883.tar.gz otp-69797ce56c590125a664b24e16e4e6691d948883.tar.bz2 otp-69797ce56c590125a664b24e16e4e6691d948883.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r-- | lib/ssl/src/ssl_connection.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl index 6e602eac23..1a848df2a3 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -627,8 +627,8 @@ init({call, From}, {start, {Opts, EmOpts}, Timeout}, catch throw:Error -> stop_and_reply(normal, {reply, From, {error, Error}}, State0) end; -init({call, From}, Msg, State, Connection) -> - handle_call(Msg, From, ?FUNCTION_NAME, State, Connection); +init({call, From}, _Msg, _State, _Connection) -> + {keep_state_and_data, [{reply, From, {error, notsup_on_transport_accept_socket}}]}; init(_Type, _Event, _State, _Connection) -> {keep_state_and_data, [postpone]}. |