cvs: php4 /main php_realpath.c

From: Date: Tue, 01 Aug 2000 00:41:35 +0000
Subject: cvs: php4 /main php_realpath.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-999@lists.php.net to get a copy of this message
zeev Mon Jul 31 17:41:35 2000 EDT Modified files: /php4/main php_realpath.c Log: - Get rid of whitespace. Index: php4/main/php_realpath.c diff -u php4/main/php_realpath.c:1.10 php4/main/php_realpath.c:1.11 --- php4/main/php_realpath.c:1.10 Thu Jul 27 06:48:50 2000 +++ php4/main/php_realpath.c Mon Jul 31 17:41:35 2000 @@ -257,9 +257,10 @@ if (S_ISDIR(filestat.st_mode)) { /* It's a directory, append a / if needed */ if (*(writepos-1) != '/') { - /* C heck for overflow */ - if ((strlen(workpos) + 2) >= MAXPATHLEN) return NULL; - + /* Check for overflow */ + if ((strlen(workpos) + 2) >= MAXPATHLEN) { + return NULL; + } *writepos++ = '/'; *writepos = 0; }

« previous php.cvs (#999) next »