aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/EPollFD.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-10 11:52:26 +0200
committerMax Kellermann <max@duempel.org>2013-08-10 11:52:31 +0200
commit81175b07174c589f172e67e10196cdc0b9412d59 (patch)
tree9b9b8e87c93fc166cc31f56f4cf96d69142185f1 /src/system/EPollFD.hxx
parentd23c907a94a58d5e6ad2f42f6eecf358e3d9f775 (diff)
downloadmpd-81175b07174c589f172e67e10196cdc0b9412d59.tar.gz
mpd-81175b07174c589f172e67e10196cdc0b9412d59.tar.xz
mpd-81175b07174c589f172e67e10196cdc0b9412d59.zip
system/EPollFD: fix typo in Add()
Diffstat (limited to 'src/system/EPollFD.hxx')
-rw-r--r--src/system/EPollFD.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/EPollFD.hxx b/src/system/EPollFD.hxx
index 1ebacfeae..41f7ec377 100644
--- a/src/system/EPollFD.hxx
+++ b/src/system/EPollFD.hxx
@@ -61,7 +61,7 @@ public:
e.events = events;
e.data.ptr = ptr;
- return Control(EPOLL_CTL_DEL, _fd, &e);
+ return Control(EPOLL_CTL_ADD, _fd, &e);
}
bool Modify(int _fd, uint32_t events, void *ptr) {