diff --git a/contrib/spoa_example/spoa.c b/contrib/spoa_example/spoa.c index d7486a417a..7b40e81ed6 100644 --- a/contrib/spoa_example/spoa.c +++ b/contrib/spoa_example/spoa.c @@ -1474,7 +1474,6 @@ read_frame_cb(evutil_socket_t fd, short events, void *arg) if (client->status_code != SPOE_FRM_ERR_NONE) LOG(client->worker, "<%lu> Peer closed connection: %s", client->id, spoe_frm_err_reasons[client->status_code]); - client->status_code = SPOE_FRM_ERR_NONE; goto disconnect; }