Skip to content

Commit 7d8ef7f

Browse files
bjosvzuiderkwast
authored andcommitted
Correcting signature on function handling a command_reply
The function in ered_client handling stray messages from a defunct client has a faulty signature which could result it a crash. Included in pull request #77. Signed-off-by: Björn Svensson <[email protected]>
1 parent 67d4a0d commit 7d8ef7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ered_client.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ handle_info({{command_reply, Pid}, Reply}, State = #st{pending = Pending, connec
247247
{noreply, process_commands(State#st{pending = NewPending})}
248248
end;
249249

250-
handle_info({command_reply, _Pid, _Reply}, State) ->
250+
handle_info({{command_reply, _Pid}, _Reply}, State) ->
251251
%% Stray message from a defunct client? ignore!
252252
{noreply, State};
253253

0 commit comments

Comments
 (0)