remove debugging cruft

This commit is contained in:
marschap
2006-04-13 07:21:00 +00:00
parent ad0e6c14ce
commit 09cb8d86b5
-1
View File
@@ -317,7 +317,6 @@ sock_printf_error(int fd, const char *format, .../*args*/ )
strcpy(buf, huh);
reort(RPT_ERR, "sizeof(buf) = %d, sizeof(huh) = %d, sizeof(buf) - (sizeof(huh)-1) = %d, buf = %p, buf + (sizeof(huh)-1) = %p", sizeof(buf), sizeof(huh), sizeof(buf) - (sizeof(huh)-1), buf, buf + (sizeof(huh)-1));
va_start(ap, format);
size = vsnprintf(buf + (sizeof(huh)-1), sizeof(buf) - (sizeof(huh)-1), format, ap);
buf[sizeof(buf)-1] = '\0';