From: Andy Shevchenko on
On Thu, Mar 11, 2010 at 1:18 AM, OGAWA Hirofumi
<hirofumi(a)mail.parknet.co.jp> wrote:
>> +                             *op++ = hex_asc_hi(ec >> 8);
>> +                             *op++ = hex_asc_lo(ec >> 8);
>> +                             *op++ = hex_asc_hi(ec);
>> +                             *op++ = hex_asc_lo(ec);
> Why doesn't this use pack_hex_byte()?
No specific reason, it could be so. Would you like me to change this?

--
With Best Regards,
Andy Shevchenko
From: Andy Shevchenko on
On Thu, Mar 11, 2010 at 9:21 AM, Joe Perches <joe(a)perches.com> wrote:
>> > +                           *op++ = hex_asc_hi(ec >> 8);
>> > +                           *op++ = hex_asc_lo(ec >> 8);
>> > +                           *op++ = hex_asc_hi(ec);
>> > +                           *op++ = hex_asc_lo(ec);
>> Why doesn't this use pack_hex_byte()?
> or snprintf
sprintf looks like overkill here.

--
With Best Regards,
Andy Shevchenko