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

Commit3731a40

Browse files
committed
Add WSACleanup() for Win32 socket cleanup.
Jason Erickson
1 parentd445b41 commit3731a40

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.304 2005/03/25 00:34:29 tgl Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.305 2005/05/05 16:36:12 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2034,6 +2034,10 @@ freePGconn(PGconn *conn)
20342034
PGnotify*notify;
20352035
pgParameterStatus*pstatus;
20362036

2037+
#ifdefWIN32
2038+
WSACleanup();
2039+
#endif
2040+
20372041
if (!conn)
20382042
return;
20392043

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp