com php-src: fix typo: ext/standard/filestat.c
| From: | Anatol Belski | Date: | Thu, 11 Aug 2016 11:38:28 +0000 |
| Subject: | com php-src: fix typo: ext/standard/filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93747@lists.php.net to get a copy of this message | ||
Commit: 525eb3566782c91316a15c82747cf3dbd8103f24
Author: Anatol Belski <ab@php.net> Thu, 11 Aug 2016 13:24:00 +0200
Parents: 6359c7a2bffef34a9f360c8f8522dc6ec2d191d1
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=525eb3566782c91316a15c82747cf3dbd8103f24
Log:
fix typo
Changed paths:
M ext/standard/filestat.c
Diff:
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 4e80b2c..28a95a4 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -115,7 +115,7 @@ static int php_disk_total_space(char *path, double *space) /* {{{ */
ULARGE_INTEGER TotalNumberOfFreeBytes;
PHP_WIN32_IOUTIL_INIT_W(path)
- if (GetDiskFreeSpaceExW(path, &FreeBytesAvailableToCaller, &TotalNumberOfBytes,
&TotalNumberOfFreeBytes) == 0) {
+ if (GetDiskFreeSpaceExW(pathw, &FreeBytesAvailableToCaller, &TotalNumberOfBytes,
&TotalNumberOfFreeBytes) == 0) {
php_error_docref(NULL, E_WARNING, "%s", php_win_err());
PHP_WIN32_IOUTIL_CLEANUP_W()
return FAILURE;