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

Commit8e86c46

Browse files
author
Thomas G. Lockhart
committed
Add storage/ipc.h include file to get read/write function declarations.
1 parentc47eaac commit8e86c46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.26 1997/11/10 05:15:56 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.27 1997/11/17 16:17:14 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -58,6 +58,7 @@
5858
#include<libpq/pqsignal.h>
5959
#include<libpq/auth.h>
6060
#include<libpq/libpq.h>/* where the declarations go */
61+
#include<storage/ipc.h>
6162

6263
/* ----------------
6364
*declarations
@@ -595,7 +596,7 @@ StreamServerPort(char *hostName, short portName, int *fdP)
595596
size_tlen;
596597
intone=1;
597598

598-
family=hostName!=NULL ?AF_INET :AF_UNIX;
599+
family=((hostName!=NULL) ?AF_INET :AF_UNIX);
599600

600601
if ((fd=socket(family,SOCK_STREAM,0))<0)
601602
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp