1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Typo fix.

This commit is contained in:
Tom Lane
2011-06-02 13:36:48 -04:00
parent b8be5431a2
commit dd2ddfb1cd

View File

@ -69,7 +69,7 @@ getpeereid(int sock, uid_t *uid, gid_t *gid)
*gid = ucred_getegid(ucred);
ucred_free(ucred);
if (*uid == (pid_t)(-1) || *gid == (gid_t)(-1))
if (*uid == (uid_t)(-1) || *gid == (gid_t)(-1))
return -1;
return 0;
#else