[Nut-upsdev] [nut-commits] svn commit r2972 - trunk/drivers
Arjen de Korte
nut+devel at de-korte.org
Mon Apr 18 18:53:12 UTC 2011
Citeren Arnaud Quette <aquette op 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');
Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)
More information about the Nut-upsdev
mailing list