Thanks for the report! I made a slightly different fix, to keep the
logic for altering ttr in the same place it was before.

https://github.com/kr/beanstalkd/commit/69c691b550dd34559674a733e3ed250a46181d5c

kr

On Tue, Dec 20, 2011 at 6:17 PM, Hoyoung Hwang <[email protected]> wrote:
> prot.c  will be
> ....
> /* Read a timeout value from the given buffer and place it in ttr.
>  * The interface and behavior are the same as in read_delay(). */
> static int
> read_ttr(usec *ttr, const char *buf, char **end)
> {
>     int r;
>     unsigned int ttr_sec;
>
>     r = read_pri(&ttr_sec, buf, end);
>     if (r) return r;
>     if (ttr_sec < 1) ttr_sec = 1;
>     *ttr = ((usec) ttr_sec) * 1000000;
>     return 0;
> }
> ...
>
> --
> You received this message because you are subscribed to the Google Groups
> "beanstalk-talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/beanstalk-talk/-/dlkBxtwCCEMJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/beanstalk-talk?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to