全部文本 #60437 原始 编辑

Stuff

公开 text v1 · 不可变
·已发布 2006-05-31 23:03 UTC
渲染后的文本正文
Index: res/res_agi.c
===================================================================
--- res/res_agi.c       (revision 31175)
+++ res/res_agi.c       (working copy)
@@ -193,7 +193,7 @@
        pfds[0].fd = s;
        pfds[0].events = POLLOUT;
        while (poll(pfds, 1, MAX_AGI_CONNECT) != 1) {
-               if (errno != EINTR) {
+               if (errno != EINTR && errno != EINPROGRESS) {
                        ast_log(LOG_WARNING, "Connect to '%s' failed: %s\n", agiurl, strerror(errno));
                        close(s);
                        return