cvs: php-src /main snprintf.c

From: Date: Thu, 15 Apr 2004 23:08:22 +0000
Subject: cvs: php-src /main snprintf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27084@lists.php.net to get a copy of this message
helly Thu Apr 15 19:08:22 2004 EDT Modified files: /php-src/main snprintf.c Log: Bugfix #28012, now for snprintf http://cvs.php.net/diff.php/php-src/main/snprintf.c?r1=1.33&r2=1.34&ty=u Index: php-src/main/snprintf.c diff -u php-src/main/snprintf.c:1.33 php-src/main/snprintf.c:1.34 --- php-src/main/snprintf.c:1.33 Thu Jan 8 03:17:54 2004 +++ php-src/main/snprintf.c Thu Apr 15 19:08:22 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: snprintf.c,v 1.33 2004/01/08 08:17:54 andi Exp $ */ +/* $Id: snprintf.c,v 1.34 2004/04/15 23:08:22 helly Exp $ */ /* ==================================================================== * Copyright (c) 1995-1998 The Apache Group. All rights reserved. @@ -1031,7 +1031,7 @@ ui_num = (u_wide_int)((size_t) va_arg(ap, char *)); s = ap_php_conv_p2(ui_num, 4, 'x', &num_buf[NUM_BUF_SIZE], &s_len); - if (i_num != 0) { + if (ui_num != 0) { *--s = 'x'; *--s = '0'; s_len += 2;

« previous php.cvs (#27084) next »