Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
f903278e
Commit
f903278e
authored
17 years ago
by
Magnus Hagander
Browse files
Options
Downloads
Patches
Plain Diff
Silence compiler warning on mingw
parent
d6025924
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/libpq/pqcomm.c
+4
-2
4 additions, 2 deletions
src/backend/libpq/pqcomm.c
with
4 additions
and
2 deletions
src/backend/libpq/pqcomm.c
+
4
−
2
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/2
3
1
0
:16:
54
mha Exp $
* $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.19
5
2007/07/2
4
1
1
: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
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment