]> granicus.if.org Git - libevent/commit
Replace users of "int fd" with "evutil_socket_t fd" in portable code
authorNick Mathewson <nickm@torproject.org>
Fri, 5 Mar 2010 17:47:46 +0000 (12:47 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 5 Mar 2010 17:47:46 +0000 (12:47 -0500)
commitc7cf6f004951615cf775431d4f47663a20f2db6e
treeca892f58ba9e0abfe54a3ff8f1becc1746e234aa
parent38b7b571c81d1545bb4b6a1c5e4fd9e1bf0f542d
Replace users of "int fd" with "evutil_socket_t fd" in portable code

Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" as the
socket type.

This isn't a blind search-and-replace: sometimes an fd is really in
fact for a file, and not a socket at all.
18 files changed:
changelist-internal.h
event.c
evmap-internal.h
evmap.c
http.c
sample/dns-example.c
sample/signal-test.c
test/bench.c
test/bench_cascade.c
test/bench_httpclient.c
test/regress.c
test/regress_et.c
test/regress_http.c
test/regress_pthread.c
test/regress_rpc.c
test/test-eof.c
test/test-time.c
test/test-weof.c