evcon = evhttp_get_request_connection(http, fd, sa, salen);
if (evcon == NULL) {
- event_warn(1, "%s: cannot get connection on %d", __func__, fd);
+ event_warn("%s: cannot get connection on %d", __func__, fd);
return;
}
#ifdef HAVE_GETNAMEINFO
ni_result = getnameinfo(sa, salen,
ntop, sizeof(ntop), strport, sizeof(strport),
- NI_NUMERICHOST|NI_NUMERICSERV)
+ NI_NUMERICHOST|NI_NUMERICSERV);
if (ni_result != 0) {
if (ni_result == EAI_SYSTEM)