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
ae76a675
Commit
ae76a675
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
more int vs long/size_t fixes after icc compiler warnings
parent
76241d0a
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
ares/ares_search.c
+3
-2
3 additions, 2 deletions
ares/ares_search.c
with
3 additions
and
2 deletions
ares/ares_search.c
+
3
−
2
View file @
ae76a675
...
...
@@ -183,7 +183,8 @@ static void end_squery(struct search_query *squery, int status,
/* Concatenate two domains. */
static
int
cat_domain
(
const
char
*
name
,
const
char
*
domain
,
char
**
s
)
{
int
nlen
=
strlen
(
name
),
dlen
=
strlen
(
domain
);
size_t
nlen
=
strlen
(
name
);
size_t
dlen
=
strlen
(
domain
);
*
s
=
malloc
(
nlen
+
1
+
dlen
+
1
);
if
(
!*
s
)
...
...
@@ -201,7 +202,7 @@ static int cat_domain(const char *name, const char *domain, char **s)
*/
static
int
single_domain
(
ares_channel
channel
,
const
char
*
name
,
char
**
s
)
{
in
t
len
=
strlen
(
name
);
size_
t
len
=
strlen
(
name
);
const
char
*
hostaliases
;
FILE
*
fp
;
char
*
line
=
NULL
;
...
...
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