cvs: php4 /ext/standard rand.c

From: Date: Wed, 05 Sep 2001 21:04:30 +0000
Subject: cvs: php4 /ext/standard rand.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7228@lists.php.net to get a copy of this message
sterling Wed Sep 5 17:04:30 2001 EDT Modified files: /php4/ext/standard rand.c Log: stray tabs and spaces Index: php4/ext/standard/rand.c diff -u php4/ext/standard/rand.c:1.41 php4/ext/standard/rand.c:1.42 --- php4/ext/standard/rand.c:1.41 Wed Sep 5 16:59:24 2001 +++ php4/ext/standard/rand.c Wed Sep 5 17:04:30 2001 @@ -19,7 +19,7 @@ | Based on code from: Shawn Cokus <Cokus@math.washington.edu> | +----------------------------------------------------------------------+ */ -/* $Id: rand.c,v 1.41 2001/09/05 20:59:24 sterling Exp $ */ +/* $Id: rand.c,v 1.42 2001/09/05 21:04:30 sterling Exp $ */ #include <stdlib.h> @@ -202,7 +202,7 @@ } convert_to_long_ex(seed); - php_srand(Z_LVAL_PP(seed)); + php_srand(Z_LVAL_PP(seed)); } /* }}} */ @@ -263,7 +263,7 @@ if (argc != 0 && argc != 2 || zend_get_parameters_ex(argc, &min, &max) == FAILURE) { WRONG_PARAM_COUNT; - } + } number = php_rand(); if (argc == 2) {

« previous php.cvs (#7228) next »