diff options
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r-- | ext/standard/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c index c57484e766..0f889a9e6a 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -76,7 +76,7 @@ PHP_FUNCTION(readlink) /* Append NULL to the end of the string */ buff[ret] = '\0'; - RETURN_STRING(buff, 1); + RETURN_STRING(buff); } /* }}} */ |