[Nut-upsdev] Re: [Nut-upsuser] Ablerex 625L USB version

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Sat Feb 3 14:30:03 CET 2007


On Sat, 03 Feb 2007 07:45:12 +0300, Peter Selinger <selinger at mathstat.dal.ca> wrote:

> No, I think the correct expression would be:
>
> if ((ignset != NULL) && (NULL!=strchr(ignset,c))) continue;
>
> In cases where ignset==NULL, you don't want to call strchr, but in
> this case you should assume that c is *not* an ignored character,
> i.e., don't "continue".
>
> -- Peter
>

Oh, yes, sure, my fault.

-- 
   Alexander



More information about the Nut-upsdev mailing list