[zeromq-dev] [PATCH] Minor patch for xrep_t::xhas_in()

Pieter Hintjens ph at imatix.com
Thu May 5 16:06:50 CEST 2011


Hi Tore,

Could you please indicate what version of 0MQ your patch is for?

-Pieter

On Thu, May 5, 2011 at 3:56 PM, Tore Halvorsen <tore.halvorsen at gmail.com> wrote:
> Hi,
>
> I'm getting some errors when shutting down my program right now -
> looks like the problem is in
> xrep_t::xhas_in(). I can enter this function when current_in >= inpipes.size().
> Now, I'm not quite sure what this function does, so the contition
> could be an indication
> that something else is wrong, anyway...
>
> There was a check for this boundry condition at the end of the loop
> and moving it to the
> start of it. Seems to work for me - attached a patch if this looks
> like the correct approach.
>
> --
> Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul]
> <demo> 2011 Tore Halvorsen || +052 0553034554
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>



More information about the zeromq-dev mailing list