sesser Tue Feb 11 16:44:02 2003 EDT Modified files: /php4/main SAPI.c Log: size matters not. Index: php4/main/SAPI.c diff -u php4/main/SAPI.c:1.170 php4/main/SAPI.c:1.171 --- php4/main/SAPI.c:1.170 Tue Feb 11 16:41:32 2003 +++ php4/main/SAPI.c Tue Feb 11 16:44:02 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.170 2003/02/11 21:41:32 sesser Exp $ */ +/* $Id: SAPI.c,v 1.171 2003/02/11 21:44:02 sesser Exp $ */ #include <ctype.h> #include <sys/stat.h> @@ -626,7 +626,7 @@ /* If there is no realm string at all, append one */ if(!strstr(lower_temp,"realm")) { efree(result); - conv_len = sprintf(conv_temp, sizeof(conv_temp), " realm=\"%ld\"",myuid); + conv_len = +sprintf(conv_temp, " realm=\"%ld\"",myuid); result = emalloc(ptr_len+conv_len+1); result_len = ptr_len+conv_len; memcpy(result, ptr, ptr_len);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php