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
5fc9f3d5
Commit
5fc9f3d5
authored
Jun 20, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We neglected to set conn->raddr.salen, leading to breakage of CANCEL
and probably other stuff.
parent
1bd22f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+3
-2
No files found.
src/interfaces/libpq/fe-connect.c
View file @
5fc9f3d5
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.24
8 2003/06/14 17:49:53 momjian
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.24
9 2003/06/20 04:09:12 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1080,8 +1080,9 @@ keep_going: /* We will come back to here until there
struct
addrinfo
*
addr_cur
=
conn
->
addr_cur
;
/* Remember current address for possible error msg */
memcpy
(
&
conn
->
raddr
,
addr_cur
->
ai_addr
,
memcpy
(
&
conn
->
raddr
.
addr
,
addr_cur
->
ai_addr
,
addr_cur
->
ai_addrlen
);
conn
->
raddr
.
salen
=
addr_cur
->
ai_addrlen
;
/* Open a socket */
conn
->
sock
=
socket
(
addr_cur
->
ai_family
,
...
...
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