Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
c03fa90b
Commit
c03fa90b
authored
Oct 07, 2004
by
Andy Cedilnik
Browse files
COMP: Fix C syntax, and remove unused variable
parent
c47af14e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/CTest/Curl/connect.c
View file @
c03fa90b
...
...
@@ -271,7 +271,6 @@ static CURLcode bindlocal(struct connectdata *conn,
*************************************************************/
if
(
strlen
(
data
->
set
.
device
)
<
255
)
{
struct
Curl_dns_entry
*
h
=
NULL
;
size_t
size
;
char
myhost
[
256
]
=
""
;
in_addr_t
in
;
int
rc
;
...
...
@@ -362,13 +361,13 @@ static CURLcode bindlocal(struct connectdata *conn,
struct
sockaddr_in
add
;
#endif
bindworked
=
TRUE
;
#ifdef __hpux
int
gsize
=
sizeof
(
add
);
#else
socklen_t
gsize
=
sizeof
(
add
);
#endif
bindworked
=
TRUE
;
if
(
getsockname
(
sockfd
,
(
struct
sockaddr
*
)
&
add
,
&
gsize
)
<
0
)
{
failf
(
data
,
"getsockname() failed"
);
...
...
Write
Preview
Supports
Markdown
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