From 9fea194154ee74111852d7eadb2884c6a455b15a Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Fri, 12 May 2006 19:46:40 +0200 Subject: [PATCH] [CLEANUP] remove the unused SV_STCPEND state --- haproxy.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/haproxy.c b/haproxy.c index eaa6bc183..2f5cb0409 100644 --- a/haproxy.c +++ b/haproxy.c @@ -418,13 +418,12 @@ int strlcpy2(char *dst, const char *src, int size) { /* different possible states for the server side */ #define SV_STIDLE 0 -#define SV_STCPEND 1 -#define SV_STCONN 2 -#define SV_STHEADERS 3 -#define SV_STDATA 4 -#define SV_STSHUTR 5 -#define SV_STSHUTW 6 -#define SV_STCLOSE 7 +#define SV_STCONN 1 +#define SV_STHEADERS 2 +#define SV_STDATA 3 +#define SV_STSHUTR 4 +#define SV_STSHUTW 5 +#define SV_STCLOSE 6 /* result of an I/O event */ #define RES_SILENT 0 /* didn't happen */