Red Hat Bugzilla – Bug 244125
cman_dispatch should return when done
Last modified: 2009-04-16 16:32:48 EDT
Description of problem:
If I'm reading the code correctly, I think that cman_dispatch should stop
looking at the receive socket when there are no more messages.
diff /tmp/libcman.c ./libcman.c.orig
< !(len < 0 && errno == EAGAIN) );
> (len < 0 && errno == EAGAIN) );
Version-Release number of selected component (if applicable):
Steps to Reproduce:
No, the intention of CMAN_DISPATCH_ALL is to only return when the socket is
closed or an error occurs.