You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/03/11 18:05:19 UTC

[5/8] mesos git commit: Windows: Libevent: Used `evutil_socket_t` typedef for sockets.

Windows: Libevent: Used `evutil_socket_t` typedef for sockets.

Review: https://reviews.apache.org/r/44046/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ae873f29
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ae873f29
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ae873f29

Branch: refs/heads/master
Commit: ae873f298df2d9aa978a4f53b4403e9f48064132
Parents: 8806544
Author: Alex Clemmer <cl...@gmail.com>
Authored: Fri Mar 11 11:29:13 2016 -0500
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Fri Mar 11 12:03:59 2016 -0500

----------------------------------------------------------------------
 3rdparty/libprocess/src/libevent.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ae873f29/3rdparty/libprocess/src/libevent.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/libevent.cpp b/3rdparty/libprocess/src/libevent.cpp
index c787fa9..c4a8da8 100644
--- a/3rdparty/libprocess/src/libevent.cpp
+++ b/3rdparty/libprocess/src/libevent.cpp
@@ -40,7 +40,7 @@ std::queue<lambda::function<void()>>* functions =
 THREAD_LOCAL bool* _in_event_loop_ = NULL;
 
 
-void async_function(int socket, short which, void* arg)
+void async_function(evutil_socket_t socket, short which, void* arg)
 {
   event* ev = reinterpret_cast<event*>(arg);
   event_free(ev);
@@ -128,7 +128,7 @@ struct Delay
   event* timer;
 };
 
-void handle_delay(int, short, void* arg)
+void handle_delay(evutil_socket_t, short, void* arg)
 {
   Delay* delay = reinterpret_cast<Delay*>(arg);
   delay->function();