- snprintf() returns at most size-1 of the chars printed into the buffer. (n == hostlen) also means the buffer length was too short.
- Use sdl->sdl_data only when (sdl->sdl_nlen > 0 && sdl->sdl_alen == 0) to prevent redundant output.
- snprintf() returns at most size-1 of the chars printed into Tags None Referenced Files None Subscribers None
Description
Details
|