mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-20 23:47:12 +00:00
poll_dispatch_delete - ability to return 0
Patch fixes poll_dispatch_delete, so it is able to return 0 (success), when requested FD was found. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2647 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
c9baa674f5
commit
68d7e86c2f
@ -260,6 +260,8 @@ int poll_dispatch_delete (
|
||||
poll_instance->ufds[i].fd = -1;
|
||||
poll_instance->poll_entries[i].ufd.fd = -1;
|
||||
poll_instance->poll_entries[i].ufd.revents = 0;
|
||||
|
||||
res = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user