Commit 72530db7 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

Remove wrong use of errno in AsyncUDPSocket

Summary: [Folly] Remove wrong use of `errno` in `AsyncUDPSocket`.

Reviewed By: markisaa

Differential Revision: D23153435

fbshipit-source-id: f567aa97ebe243ff5b6ad99e300212df290800bb
parent 013b287c
...@@ -117,7 +117,7 @@ void AsyncUDPSocket::init(sa_family_t family) { ...@@ -117,7 +117,7 @@ void AsyncUDPSocket::init(sa_family_t family) {
} }
#else /* SO_BUSY_POLL is not supported*/ #else /* SO_BUSY_POLL is not supported*/
throw AsyncSocketException( throw AsyncSocketException(
AsyncSocketException::NOT_OPEN, "SO_BUSY_POLL is not supported", errno); AsyncSocketException::NOT_OPEN, "SO_BUSY_POLL is not supported");
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment