From: Willy Tarreau Date: Mon, 27 Apr 2026 12:34:59 +0000 (+0200) Subject: CLEANUP: peers: fix a few user-visible spelling mistakes X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5efaece57771e93d3625dbf4bce05f4420f13c8e;p=thirdparty%2Fhaproxy.git CLEANUP: peers: fix a few user-visible spelling mistakes Just a few "leason" and "messafe" in traces. This can be backported. --- diff --git a/src/peers.c b/src/peers.c index 855aaa948..9bbcf14a7 100644 --- a/src/peers.c +++ b/src/peers.c @@ -2240,7 +2240,7 @@ static inline int peer_treat_ackmsg(struct appctx *appctx, struct peer *p, table_id = intdecode(msg_cur, msg_end); if (!*msg_cur || (*msg_cur + sizeof(update) > msg_end)) { - TRACE_ERROR("malformed ackk message: no table id", PEERS_EV_SESS_IO|PEERS_EV_RX_MSG|PEERS_EV_PROTO_ERR, appctx, p); + TRACE_ERROR("malformed ack message: no table id", PEERS_EV_SESS_IO|PEERS_EV_RX_MSG|PEERS_EV_PROTO_ERR, appctx, p); appctx->st0 = PEER_SESS_ST_ERRPROTO; ret = 0; goto end; @@ -2579,7 +2579,7 @@ static inline int peer_recv_msg(struct appctx *appctx, char *msg_head, size_t ms if (reql < 0 || se_fl_test(appctx->sedesc, SE_FL_SHW)) { /* there was an error or the message was truncated */ appctx->st0 = PEER_SESS_ST_END; - TRACE_ERROR("error or messafe truncated", PEERS_EV_SESS_IO|PEERS_EV_RX_ERR, appctx); + TRACE_ERROR("error or message truncated", PEERS_EV_SESS_IO|PEERS_EV_RX_ERR, appctx); return -1; } @@ -2614,7 +2614,7 @@ static inline int peer_treat_awaited_msg(struct appctx *appctx, struct peer *pee /* flag to start to teach lesson */ peer->flags |= (PEER_F_TEACH_PROCESS|PEER_F_DBG_RESYNC_REQUESTED); - TRACE_STATE("peer elected to teach leasson to remote peer", PEERS_EV_SESS_RESYNC|PEERS_EV_PROTO_CTRL, appctx, peer); + TRACE_STATE("peer elected to teach lesson to remote peer", PEERS_EV_SESS_RESYNC|PEERS_EV_PROTO_CTRL, appctx, peer); } else if (msg_head[1] == PEER_MSG_CTRL_RESYNCFINISHED) { TRACE_PROTO("Full resync finished message received", PEERS_EV_SESS_IO|PEERS_EV_RX_MSG|PEERS_EV_PROTO_CTRL, appctx, peer);