From 40c20c587ed6435bb489f31c0aac94c2ca828f4a Mon Sep 17 00:00:00 2001
From: Kevin Adler <kadler@su.ibm.com>
Date: Sat, 23 Jul 2022 16:39:40 +0800
Subject: [PATCH] Ensure that PollVec enum matches poll values

Conflict:NA
Reference:https://github.com/lavv17/lftp/commit/40c20c587ed6435bb489f31c0aac94c2ca828f4a

---
 src/PollVec.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PollVec.h b/src/PollVec.h
index fda75a4..296f2f2 100644
--- a/src/PollVec.h
+++ b/src/PollVec.h
@@ -59,8 +59,8 @@ public:
    void	 Block();
 
    enum {
-      IN=1,
-      OUT=4,
+      IN=POLLIN,
+      OUT=POLLOUT,
    };
 
    void SetTimeout(const timeval &t) { tv_timeout=t; }
-- 
2.23.0

