diff options
author | Artur Wilniewczyc <[email protected]> | 2013-07-11 12:47:46 +0200 |
---|---|---|
committer | Artur Wilniewczyc <[email protected]> | 2013-07-11 12:47:46 +0200 |
commit | e4ed3bb6dae7faf95a43ba3cdbb1de745d75fdd4 (patch) | |
tree | 1121f08fedef2ea38639d5062dd91b557f42db64 /lib/inets/src | |
parent | 15874f5848bb4686b1ab1986adc2e8c366492a4d (diff) | |
download | otp-e4ed3bb6dae7faf95a43ba3cdbb1de745d75fdd4.tar.gz otp-e4ed3bb6dae7faf95a43ba3cdbb1de745d75fdd4.tar.bz2 otp-e4ed3bb6dae7faf95a43ba3cdbb1de745d75fdd4.zip |
Add missing brackets to report formatting on ftp_progress process exit
When progress reporting process exits, ftp client crashes
because of missing brackets in io_lib:format argument.
Diffstat (limited to 'lib/inets/src')
-rw-r--r-- | lib/inets/src/ftp/ftp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl index 132a384a49..5d9887a9a4 100644 --- a/lib/inets/src/ftp/ftp.erl +++ b/lib/inets/src/ftp/ftp.erl @@ -1417,7 +1417,7 @@ handle_info({'DOWN', _Ref, _Type, Process, Reason}, State) -> handle_info({'EXIT', Pid, Reason}, #state{progress = Pid} = State) -> Report = io_lib:format("Progress reporting stopped for reason ~p~n", - Reason), + [Reason]), error_logger:info_report(Report), {noreply, State#state{progress = ignore}}; |