2011/4/18 Arjen de Korte <[email protected]> > 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'); >
uhoh, how did I miss that! thanks for the proof reading Arjen ;-) cheers, Arnaud
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
