[zeromq-dev] [PATCH] Minor patch for xrep_t::xhas_in()
Tore Halvorsen
tore.halvorsen at gmail.com
Thu May 5 16:14:00 CEST 2011
Ah, I hoped that was a part of the patch-file.
Newest HEAD from git.
commit 3ef7c747ac68214ca463b2f52244fcec92151a46
On Thu, May 5, 2011 at 4:06 PM, Pieter Hintjens <ph at imatix.com> wrote:
> 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
>>
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul]
<demo> 2011 Tore Halvorsen || +052 0553034554
More information about the zeromq-dev
mailing list