Skip to content

Commit 4eb830b

Browse files
committed
Reorder
1 parent ebfc49a commit 4eb830b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,12 +1246,11 @@ PHPAPI char *php_get_current_user(TSRMLS_D)
12461246
efree(pwbuf);
12471247
return "";
12481248
}
1249-
pwd = &_pw;
1250-
12511249
if (retpwptr == NULL) {
12521250
efree(pwbuf);
12531251
return "";
12541252
}
1253+
pwd = &_pw;
12551254
#else
12561255
if ((pwd=getpwuid(pstat->st_uid))==NULL) {
12571256
return "";

0 commit comments

Comments
 (0)