Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e9014d

Browse files
committed
Add ALIGN() for cred packet, for OpenBSD.
1 parentbe83aac commit3e9014d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/libpq/hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.73 2001/09/26 19:54:12 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.74 2001/09/26 19:57:01 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -921,7 +921,7 @@ ident_unix(int sock, char *ident_user)
921921
Cred*cred;
922922

923923
/* Compute size without padding */
924-
charcmsgmem[sizeof(structcmsghdr)+ALIGN(sizeof(Cred))];/*for NetBSD*/
924+
charcmsgmem[ALIGN(sizeof(structcmsghdr))+ALIGN(sizeof(Cred))];/*for NetBSD*/
925925
/* Point to start of first structure */
926926
structcmsghdr*cmsg= (structcmsghdr*)cmsgmem;
927927

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp