Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: third_party/libevent/evport.c

Issue 412006: posix: upgrade libevent from 1.4.7 to 1.4.13 (Closed)
Patch Set: better readme Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libevent/evport.c
diff --git a/third_party/libevent/evport.c b/third_party/libevent/evport.c
index 31523b43636bee35a864548558286ec7ab5aa8d7..a2ee1bce78c01b29afb82b60f5b052e5e8bdb1e1 100644
--- a/third_party/libevent/evport.c
+++ b/third_party/libevent/evport.c
@@ -122,7 +122,7 @@ static int evport_dispatch (struct event_base *, void *, struct timeval *);
static void evport_dealloc (struct event_base *, void *);
const struct eventop evportops = {
- "event ports",
+ "evport",
evport_init,
evport_add,
evport_del,
@@ -143,7 +143,7 @@ evport_init(struct event_base *base)
/*
* Disable event ports when this environment variable is set
*/
- if (getenv("EVENT_NOEVPORT"))
+ if (evutil_getenv("EVENT_NOEVPORT"))
return (NULL);
if (!(evpd = calloc(1, sizeof(struct evport_data))))

Powered by Google App Engine
This is Rietveld 408576698