On 05/21/2010 12:54 AM, Pete Zaitcev wrote:
- host, sizeof(host), NULL, 0, NI_NUMERICHOST);
+ host, sizeof(host), port, sizeof(port), NI_NUMERICHOST);
host[sizeof(host) - 1] = 0;
- applog(LOG_INFO, "client %s connected%s", host,
+ host[sizeof(port) - 1] = 0;
You truncate the wrong variable. -- To unsubscribe from this list: send the line "unsubscribe hail-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
