X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpollable.cpp;h=4db38dd70ac222823b039ab466acd98a409fd595;hb=ee0f34083d99c81ac1393bc1fddadfdadb201a38;hp=4b0cb1c7bb3804e3aeef109a27405ae0ceac57c8;hpb=a883560b42163f5ed0c83204469d17dd4f0134b6;p=libs%2Fcore.git diff --git a/source/pollable.cpp b/source/pollable.cpp index 4b0cb1c..4db38dd 100644 --- a/source/pollable.cpp +++ b/source/pollable.cpp @@ -19,7 +19,6 @@ short Pollable::poll(short events, int timeout) return 0; #else pollfd pfd={get_fd(), events, 0}; - int result=select(&pfd, 1, timeout); int result=::poll(&pfd, 1, timeout); if(result<=0) return result;