Citeren Arnaud Quette <[email protected]>:

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)


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to