[BUG] fix typo in redispatched connection

a copy-paste typo was present in the reconnection code responsible
for respatching. The client's FSM would not be re-evaluated if an
error occurred. It looks harmless but better fix it.
This commit is contained in:
Willy Tarreau 2008-01-06 23:46:19 +01:00
parent 541b5c24ca
commit 00559e7117

View File

@ -2543,7 +2543,7 @@ int process_srv(struct session *t)
/* first, get a connection */
if (srv_redispatch_connect(t))
return t->srv_state != SV_STIDLE;
return t->srv_state != SV_STCONN;
}
do {