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

Commit0519a96

Browse files
committed
Fix local domain structure size computation.
1 parentc4213ae commit0519a96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/libpq/pqcomm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: pqcomm.h,v 1.19 1998/01/26 01:42:21 scrappy Exp $
9+
* $Id: pqcomm.h,v 1.20 1998/01/27 04:08:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -35,7 +35,7 @@ typedef union SockAddr {
3535

3636
#defineUNIXSOCK_PATH(sun,port) \
3737
(sprintf((sun).sun_path, "/tmp/.s.PGSQL.%d", (port)) + \
38-
sizeof ((sun).sun_family))
38+
sizeof ((sun).sun_len) + sizeof ((sun).sun_family))
3939

4040

4141
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp