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:
lahiker42 2010-02-05 00:06:43 +00:00
parent 54aa2a09cb
commit 1ff01655b7

View File

@ -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--;
}