diff -u -r1.63 nathelper.c --- nathelper.c 9 Sep 2004 10:38:00 -0000 1.63 +++ nathelper.c 1 Oct 2004 18:19:10 -0000 @@ -1152,7 +1152,8 @@ } if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) { close(fd); - LOG(L_ERR, "ERROR: send_rtpp_command: can't connect to RTP proxy\n"); + LOG(L_ERR, "ERROR: send_rtpp_command: can't connect to RTP" + " proxy: %s [%d]\n", strerror(errno), errno); return NULL; } @@ -1169,7 +1170,8 @@ } while (len == -1 && errno == EINTR); close(fd); if (len <= 0) { - LOG(L_ERR, "ERROR: send_rtpp_command: can't read reply from a RTP proxy\n"); + LOG(L_ERR, "ERROR: send_rtpp_command: can't read reply from a " + "RTP proxy: %s [%d]\n", strerror(errno), errno); return NULL; } } else {