From: Nikita Popov Date: Sun, 1 May 2016 11:07:01 +0000 (+0200) Subject: Fix posix build X-Git-Tag: php-7.0.7RC1~40^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e855534b70e978a6464081ebe71257269eacdb4;p=php Fix posix build --- diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 25cb26f372..771e316325 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -987,7 +987,7 @@ int php_posix_group_to_array(struct group *g, zval *array_group) /* {{{ */ array_init(&array_members); add_assoc_string(array_group, "name", g->gr_name); - if (array_group->gr_passwd) { + if (g->gr_passwd) { add_assoc_string(array_group, "passwd", g->gr_passwd); } else { add_assoc_null(array_group, "passwd");