Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Jan 17,  2:06am, ryo%nerv.org@localhost (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


Home | Main Index | Thread Index | Old Index