Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
ac7aa922
Commit
ac7aa922
authored
Feb 27, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new HAVE_SOCKADDR_SIN_LEN define (replaces HAVE_SOCKADDR_LEN).
parent
0042f818
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
clientname.c
clientname.c
+1
-1
socket.c
socket.c
+1
-1
No files found.
clientname.c
View file @
ac7aa922
...
...
@@ -195,7 +195,7 @@ void client_sockaddr(int fd,
memset
(
sin
,
0
,
sizeof
(
*
sin
));
sin
->
sin_family
=
AF_INET
;
*
ss_len
=
sizeof
(
struct
sockaddr_in
);
#if
def HAVE_SOCKADDR
_LEN
#if
HAVE_SOCKADDR_SIN
_LEN
sin
->
sin_len
=
*
ss_len
;
#endif
sin
->
sin_port
=
sin6
.
sin6_port
;
...
...
socket.c
View file @
ac7aa922
...
...
@@ -698,7 +698,7 @@ static int socketpair_tcp(int fd[2])
goto
failed
;
memset
(
&
sock2
,
0
,
sizeof
sock2
);
#if
def HAVE_SOCKADDR
_LEN
#if
HAVE_SOCKADDR_SIN
_LEN
sock2
.
sin_len
=
sizeof
sock2
;
#endif
sock2
.
sin_family
=
PF_INET
;
...
...
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