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

Commit9de156f

Browse files
committed
Type 'socklen_t' might be the right way to declare getsockopt()'s last
parameter in some flavor of Unix, but Linux, HPUX, and SunOS all sayit's int. For now I'm just going to make it int so that I can compile.If the other way is actually necessary on some Unix somewhere, I guesswe will need a configure test...
1 parent8f92163 commit9de156f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.107 1999/11/30 03:08:18 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.108 1999/12/02 00:26:15 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1064,7 +1064,7 @@ PQconnectPoll(PGconn *conn)
10641064
{
10651065
SOCKET_SIZE_TYPEladdrlen;
10661066
intoptval;
1067-
socklen_toptlen=sizeof(int);
1067+
intoptlen=sizeof(int);
10681068

10691069
/* Write ready, since we've made it here, so the connection
10701070
* has been made. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp