Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f903278e
Commit
f903278e
authored
Jul 24, 2007
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence compiler warning on mingw
parent
d6025924
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomm.c
+4
-2
No files found.
src/backend/libpq/pqcomm.c
View file @
f903278e
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.19
4 2007/07/23 10:16:54
mha Exp $
* $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.19
5 2007/07/24 11:16:36
mha Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -245,7 +245,6 @@ StreamServerPort(int family, char *hostName, unsigned short portNumber,
...
@@ -245,7 +245,6 @@ StreamServerPort(int family, char *hostName, unsigned short portNumber,
int
fd
,
int
fd
,
err
;
err
;
int
maxconn
;
int
maxconn
;
int
one
=
1
;
int
ret
;
int
ret
;
char
portNumberStr
[
32
];
char
portNumberStr
[
32
];
const
char
*
familyDesc
;
const
char
*
familyDesc
;
...
@@ -256,6 +255,9 @@ StreamServerPort(int family, char *hostName, unsigned short portNumber,
...
@@ -256,6 +255,9 @@ StreamServerPort(int family, char *hostName, unsigned short portNumber,
struct
addrinfo
hint
;
struct
addrinfo
hint
;
int
listen_index
=
0
;
int
listen_index
=
0
;
int
added
=
0
;
int
added
=
0
;
#if !defined(WIN32) || defined(IPV6_V6ONLY)
int
one
=
1
;
#endif
/* Initialize hint structure */
/* Initialize hint structure */
MemSet
(
&
hint
,
0
,
sizeof
(
hint
));
MemSet
(
&
hint
,
0
,
sizeof
(
hint
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment