diff options
| author | Nikita Popov <nikic@php.net> | 2016-05-01 13:07:01 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2016-05-01 13:07:01 +0200 |
| commit | 8e855534b70e978a6464081ebe71257269eacdb4 (patch) | |
| tree | 52f8efaf33f36d3f1bcf4b222ce58ff4d7d90068 /ext/posix/posix.c | |
| parent | d0069ca6c132f54631b67617a730cefb825589cb (diff) | |
| download | php-git-8e855534b70e978a6464081ebe71257269eacdb4.tar.gz | |
Fix posix build
Diffstat (limited to 'ext/posix/posix.c')
| -rw-r--r-- | ext/posix/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
