mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 22:01:02 +08:00
Another patch from Leszek Swirski regarding the messy notifies_desired
situation. See issue 32. git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@200 00440858-1255-0410-a3e6-75ea37f81c3a
This commit is contained in:
parent
54aa2a09cb
commit
1ff01655b7
@ -409,6 +409,7 @@ deallocate_notify_desired_index (RealDispatch *d,
|
||||
from_fd = d->base.notifies_desired[from].fd;
|
||||
get_fd_map (d, from_fd)->notify_desired_index = nd_ind;
|
||||
d->base.notifies_desired[nd_ind] = d->base.notifies_desired[from];
|
||||
d->callbacks[nd_ind] = d->callbacks[from];
|
||||
d->base.n_notifies_desired--;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user