1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00

Minor changes to make make dist work correctly.

This commit is contained in:
Werner Koch 2003-07-04 09:40:19 +00:00
parent 8b9f0bda3d
commit 274e121399
3 changed files with 9 additions and 1 deletions

View file

@ -1034,7 +1034,11 @@ handle_connections (int listen_fd)
fd = pth_accept_ev (listen_fd, (struct sockaddr *)&paddr, &plen, ev);
if (fd == -1)
{
#ifdef PTH_STATUS_OCCURRED /* This is Pth 2 */
if (pth_event_status (ev) == PTH_STATUS_OCCURRED)
#else
if (pth_event_occurred (ev))
#endif
{
handle_signal (signo);
continue;