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)))) |