diff options
author | Max Kellermann <max@duempel.org> | 2013-08-10 11:52:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-10 11:52:31 +0200 |
commit | 81175b07174c589f172e67e10196cdc0b9412d59 (patch) | |
tree | 9b9b8e87c93fc166cc31f56f4cf96d69142185f1 /src | |
parent | d23c907a94a58d5e6ad2f42f6eecf358e3d9f775 (diff) | |
download | mpd-81175b07174c589f172e67e10196cdc0b9412d59.tar.gz mpd-81175b07174c589f172e67e10196cdc0b9412d59.tar.xz mpd-81175b07174c589f172e67e10196cdc0b9412d59.zip |
system/EPollFD: fix typo in Add()
Diffstat (limited to '')
-rw-r--r-- | src/system/EPollFD.hxx | 2 |
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) { |