We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfc49a commit 4eb830bCopy full SHA for 4eb830b
main/main.c
@@ -1246,12 +1246,11 @@ PHPAPI char *php_get_current_user(TSRMLS_D)
1246
efree(pwbuf);
1247
return "";
1248
}
1249
- pwd = &_pw;
1250
-
1251
if (retpwptr == NULL) {
1252
1253
1254
+ pwd = &_pw;
1255
#else
1256
if ((pwd=getpwuid(pstat->st_uid))==NULL) {
1257
0 commit comments