Module: kamailio Branch: master Commit: 81dd019c6afc0681fe23e281c139a5c63188e02f URL: https://github.com/kamailio/kamailio/commit/81dd019c6afc0681fe23e281c139a5c63188e02f
Author: Daniel-Constantin Mierla <[email protected]> Committer: GitHub <[email protected]> Date: 2017-06-20T15:42:34+02:00 Merge pull request #1157 from eloycoto/evapi evapi: Improved error message --- Modified: src/modules/evapi/evapi_dispatch.c --- Diff: https://github.com/kamailio/kamailio/commit/81dd019c6afc0681fe23e281c139a5c63188e02f.diff Patch: https://github.com/kamailio/kamailio/commit/81dd019c6afc0681fe23e281c139a5c63188e02f.patch --- diff --git a/src/modules/evapi/evapi_dispatch.c b/src/modules/evapi/evapi_dispatch.c index 1639c5d4d8..5429d6913b 100644 --- a/src/modules/evapi/evapi_dispatch.c +++ b/src/modules/evapi/evapi_dispatch.c @@ -492,7 +492,7 @@ void evapi_accept_client(struct ev_loop *loop, struct ev_io *watcher, int revent csock = accept(watcher->fd, (struct sockaddr *)&caddr, &clen); if (csock < 0) { - LM_ERR("cannot accept the client\n"); + LM_ERR("cannot accept the client '%s' err='%d'\n", gai_strerror(csock), csock); free(evapi_client); return; } _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
