1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 21:22:13 +02:00

fix AIX build

This commit is contained in:
Antony Dovgal
2006-12-03 13:46:09 +00:00
parent 75011c4d2c
commit c46f51113a

View File

@@ -149,7 +149,7 @@ PHP_FUNCTION(crypt)
{
struct crypt_data buffer;
memset(&buffer, 0, sizeof(buffer));
RETURN_STRING(crypt_r(str, salt, &buffer));
RETURN_STRING(crypt_r(str, salt, &buffer), 1);
}
#else
RETURN_STRING(crypt(str, salt), 1);