[Serusers] bug in tm module - 503 Service Unavailable

Jiri Kuthan jiri at iptel.org
Sun Mar 16 01:35:01 CET 2003


At 12:06 PM 3/13/2003, Andrei Pelinescu-Onciul wrote:
>On Mar 13, 2003 at 09:25, Tirp?k Mikl?s <mtirpak at sztaki.hu> wrote:
>> Hi,
>> 
>> I think there is a bug in the tm module of he CVS tree:
>> 
>> timer.c line 283:
>> if (SEND_BUFFER( r_buf )<=0) {
>> 
>> SEND_BUFFER returns -1 on error, and 0 on success, so it should be
>> if (SEND_BUFFER( r_buf )==-1) {
>
>Yes, you are right. Thanks.
>Bug fixed on cvs.

Just for my understanding -- how come that msg_send can return <=0
and still be ok?

Thanks,

-Jiri 




More information about the sr-users mailing list