RETURN_STRING takes the char* only now

This commit is contained in:
Pierre Joye 2014-05-15 09:54:52 +02:00
parent 6a3ee29785
commit 526c778e91

View file

@ -78,7 +78,7 @@ PHP_FUNCTION(readlink)
php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (%s), error %d)", link, GetLastError());
RETURN_FALSE;
}
RETURN_STRING(target, 1);
RETURN_STRING(target);
}
/* }}} */