Skip to content

Commit 526c778

Browse files
committed
RETURN_STRING takes the char* only now
1 parent 6a3ee29 commit 526c778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/link_win32.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ PHP_FUNCTION(readlink)
7878
php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (%s), error %d)", link, GetLastError());
7979
RETURN_FALSE;
8080
}
81-
RETURN_STRING(target, 1);
81+
RETURN_STRING(target);
8282
}
8383
/* }}} */
8484

0 commit comments

Comments
 (0)