end of arguement. [RT #5191]
+1431. [bug] isc_print_snprintf() "%s" with precision could walk of
+ end of arguement. [RT #5191]
+
1430. [port] linux: IPv6 interface scanning support.
1429. [bug] Prevent the cache getting locked to old servers.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: print.c,v 1.22 2001/05/16 00:52:55 gson Exp $ */
+/* $Id: print.c,v 1.23 2003/02/25 21:32:07 marka Exp $ */
#include <config.h>
n = precision;
tp = cp;
- while (n != 0 && *tp != '0')
+ while (n != 0 && *tp != '\0')
n--, tp++;
length = precision - n;
} else {