Thanks to visit codestin.com Credit goes to github.com
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 a7621c9 commit 8c55728Copy full SHA for 8c55728
src/backend/libpq/hba.c
@@ -10,7 +10,7 @@
10
*
11
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.70 2001/09/07 19:52:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.71 2001/09/07 19:59:04 momjian Exp $
14
15
*-------------------------------------------------------------------------
16
*/
@@ -923,7 +923,7 @@ ident_unix(int sock, char *ident_user)
923
Cred *cred;
924
925
/* Compute size without padding */
926
- char cmsgmem[sizeof(struct cmsghdr) + sizeof(Cred)];
+ char cmsgmem[sizeof(struct cmsghdr) + ALIGN(sizeof(Cred))]; /*for NetBSD*/
927
/* Point to start of first structure */
928
struct cmsghdr *cmsg = (struct cmsghdr *)cmsgmem;
929
0 commit comments