]> granicus.if.org Git - libevent/commitdiff
signal fix from dugsong@monkey.org
authorNiels Provos <provos@gmail.com>
Mon, 20 May 2002 21:51:53 +0000 (21:51 +0000)
committerNiels Provos <provos@gmail.com>
Mon, 20 May 2002 21:51:53 +0000 (21:51 +0000)
svn:r25

select.c

index e89f807fdb91d271961ffe4c7368d68cced7598a..4cd77c637ab8d3ebe9d0e9606e28b4d7cd91a474 100644 (file)
--- a/select.c
+++ b/select.c
@@ -175,7 +175,8 @@ select_dispatch(void *arg, struct timeval *tv)
                        log_error("select");
                        return (-1);
                }
-               
+
+               signal_process();
                return (0);
        }
 
@@ -203,8 +204,6 @@ select_dispatch(void *arg, struct timeval *tv)
 
        sop->event_fds = maxfd;
 
-       signal_process();
-
        return (0);
 }