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
43369b80
Commit
43369b80
authored
18 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Fix compiler warning.
parent
bec19771
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/hostip.h
+5
-3
5 additions, 3 deletions
lib/hostip.h
lib/hostip6.c
+5
-3
5 additions, 3 deletions
lib/hostip6.c
with
10 additions
and
6 deletions
lib/hostip.h
+
5
−
3
View file @
43369b80
...
...
@@ -196,9 +196,11 @@ int curl_dogetaddrinfo(char *hostname, char *service,
struct
addrinfo
*
hints
,
struct
addrinfo
**
result
,
int
line
,
const
char
*
source
);
int
curl_dogetnameinfo
(
const
struct
sockaddr
*
sa
,
socklen_t
salen
,
char
*
host
,
size_t
hostlen
,
char
*
serv
,
size_t
servlen
,
int
flags
,
int
curl_dogetnameinfo
(
GETNAMEINFO_QUAL_ARG1
GETNAMEINFO_TYPE_ARG1
sa
,
GETNAMEINFO_TYPE_ARG2
salen
,
char
*
host
,
GETNAMEINFO_TYPE_ARG46
hostlen
,
char
*
serv
,
GETNAMEINFO_TYPE_ARG46
servlen
,
GETNAMEINFO_TYPE_ARG7
flags
,
int
line
,
const
char
*
source
);
#endif
...
...
This diff is collapsed.
Click to expand it.
lib/hostip6.c
+
5
−
3
View file @
43369b80
...
...
@@ -136,9 +136,11 @@ int curl_dogetaddrinfo(char *hostname, char *service,
return
res
;
}
int
curl_dogetnameinfo
(
const
struct
sockaddr
*
sa
,
socklen_t
salen
,
char
*
host
,
size_t
hostlen
,
char
*
serv
,
size_t
servlen
,
int
flags
,
int
curl_dogetnameinfo
(
GETNAMEINFO_QUAL_ARG1
GETNAMEINFO_TYPE_ARG1
sa
,
GETNAMEINFO_TYPE_ARG2
salen
,
char
*
host
,
GETNAMEINFO_TYPE_ARG46
hostlen
,
char
*
serv
,
GETNAMEINFO_TYPE_ARG46
servlen
,
GETNAMEINFO_TYPE_ARG7
flags
,
int
line
,
const
char
*
source
)
{
int
res
=
(
getnameinfo
)(
sa
,
salen
,
...
...
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