[Nut-upsdev] [nut-commits] svn commit r2972 - trunk/drivers

Arnaud Quette aquette.dev at gmail.com
Mon Apr 18 19:09:33 UTC 2011


2011/4/18 Arjen de Korte <nut+devel at de-korte.org>

> Citeren Arnaud Quette <aquette at alioth.debian.org>:
>
>
>  Log:
>> Trim extraneous end-of-line, in buggy HID string tables, which results in
>> upsc breaking the communication pipe (Ubuntu bug #753661)
>>
>
> We have 'rtrim' to do this:
>
> - return buf;
> + return rtrim(buf, '\n');
>

uhoh, how did I miss that!
thanks for the proof reading Arjen ;-)

cheers,
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110418/67871bf0/attachment.htm>


More information about the Nut-upsdev mailing list