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.
2 parents 414bc8e + 4eb830b commit 5789035Copy full SHA for 5789035
main/main.c
@@ -1316,12 +1316,11 @@ PHPAPI char *php_get_current_user(TSRMLS_D)
1316
efree(pwbuf);
1317
return "";
1318
}
1319
- pwd = &_pw;
1320
-
1321
if (retpwptr == NULL) {
1322
1323
1324
+ pwd = &_pw;
1325
#else
1326
if ((pwd=getpwuid(pstat->st_uid))==NULL) {
1327
0 commit comments