On Jan 17,  2:06am, r...@nerv.org (Ryo Shimizu) wrote:
-- Subject: Re: CVS commit: src/sys

| >ip6_sprintf -> IN6_PRINT so that we pass the size.
| 
| ip6_sprintf() returns char *, but in6_print() returns int.
| We cannot use in6_print() for log("%s", ...)

Yes, and IN6_PRINT(buf, a) does (in6_print(buf, sizeof(buf), a), buf)
for that exact reason.

christos

Reply via email to