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

Commit513bbf4

Browse files
committed
Fix brain-dead placement of global variable declaration.
1 parent7820ee2 commit513bbf4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.38 2004/03/24 03:44:59 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.39 2004/03/27 03:08:42 tgl Exp $
1515
*
1616
* NOTES
1717
* The client *requires* a valid server certificate. Since
@@ -145,6 +145,8 @@ static void SSLerrfree(char *buf);
145145
#endif
146146

147147
#ifdefUSE_SSL
148+
boolpq_initssllib= true;
149+
148150
staticSSL_CTX*SSL_context=NULL;
149151
#endif
150152

@@ -856,9 +858,7 @@ pq_lockingcallback(int mode, int n, const char *file, int line)
856858
}
857859
}
858860

859-
boolpq_initssllib= true;
860-
861-
#endif/* ENABLE_THRAD_SAFETY */
861+
#endif/* ENABLE_THREAD_SAFETY */
862862

863863
staticint
864864
init_ssl_system(PGconn*conn)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp