Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
59a30e6d
Commit
59a30e6d
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
prevent harmless compiler warning
parent
e0287fea
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
lib/url.c
+3
-3
3 additions, 3 deletions
lib/url.c
with
3 additions
and
3 deletions
lib/url.c
+
3
−
3
View file @
59a30e6d
...
...
@@ -1856,9 +1856,6 @@ static CURLcode ConnectPlease(struct connectdata *conn,
static
void
verboseconnect
(
struct
connectdata
*
conn
,
struct
Curl_dns_entry
*
dns
)
{
#ifdef HAVE_INET_NTOA_R
char
ntoa_buf
[
64
];
#endif
struct
SessionHandle
*
data
=
conn
->
data
;
/* Figure out the ip-number and display the first host name it shows: */
...
...
@@ -1896,6 +1893,9 @@ static void verboseconnect(struct connectdata *conn,
}
#else
{
#ifdef HAVE_INET_NTOA_R
char
ntoa_buf
[
64
];
#endif
Curl_addrinfo
*
hostaddr
=
dns
?
dns
->
addr
:
NULL
;
struct
in_addr
in
;
(
void
)
memcpy
(
&
in
.
s_addr
,
&
conn
->
serv_addr
.
sin_addr
,
sizeof
(
in
.
s_addr
));
...
...
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