CLEANUP: peers: Indentation fixes.

May be backported as far as 1.5.
This commit is contained in:
Frdric Lcaille 2019-01-22 10:31:39 +01:00 committed by Willy Tarreau
parent ce02557aad
commit a8725ec372

View File

@ -259,7 +259,6 @@ static inline void peer_set_update_msg_type(char *msg_type, int use_identifier,
else
*msg_type = PEER_MSG_STKT_INCUPDATE;
}
}
/*
* This prepare the data update message on the stick session <ts>, <st> is the considered
@ -1008,11 +1007,8 @@ static void peer_io_handler(struct appctx *appctx)
/* flag to start to teach lesson */
curpeer->flags |= PEER_F_TEACH_PROCESS;
}
else if (msg_head[1] == PEER_MSG_CTRL_RESYNCFINISHED) {
if (curpeer->flags & PEER_F_LEARN_ASSIGN) {
curpeer->flags &= ~PEER_F_LEARN_ASSIGN;
curpeers->flags &= ~(PEERS_F_RESYNC_ASSIGN|PEERS_F_RESYNC_PROCESS);
@ -1021,7 +1017,6 @@ static void peer_io_handler(struct appctx *appctx)
curpeer->confirm++;
}
else if (msg_head[1] == PEER_MSG_CTRL_RESYNCPARTIAL) {
if (curpeer->flags & PEER_F_LEARN_ASSIGN) {
curpeer->flags &= ~PEER_F_LEARN_ASSIGN;
curpeers->flags &= ~(PEERS_F_RESYNC_ASSIGN|PEERS_F_RESYNC_PROCESS);
@ -1430,7 +1425,6 @@ static void peer_io_handler(struct appctx *appctx)
}
/* Nothing to read, now we start to write */
if (curpeer->tables) {
struct shared_table *st;
struct shared_table *last_local_table;