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
c23cf6a0
Commit
c23cf6a0
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
ares_free_string() now takes a void * instead
parent
79f9914a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ares/ares.h
+1
-1
1 addition, 1 deletion
ares/ares.h
ares/ares_free_string.c
+1
-1
1 addition, 1 deletion
ares/ares_free_string.c
with
2 additions
and
2 deletions
ares/ares.h
+
1
−
1
View file @
c23cf6a0
...
...
@@ -122,7 +122,7 @@ int ares_parse_a_reply(const unsigned char *abuf, int alen,
struct
hostent
**
host
);
int
ares_parse_ptr_reply
(
const
unsigned
char
*
abuf
,
int
alen
,
const
void
*
addr
,
int
addrlen
,
int
family
,
struct
hostent
**
host
);
void
ares_free_string
(
char
*
str
);
void
ares_free_string
(
void
*
str
);
void
ares_free_hostent
(
struct
hostent
*
host
);
const
char
*
ares_strerror
(
int
code
);
void
ares_free_errmem
(
char
*
mem
);
...
...
This diff is collapsed.
Click to expand it.
ares/ares_free_string.c
+
1
−
1
View file @
c23cf6a0
...
...
@@ -16,7 +16,7 @@
#include
<stdlib.h>
#include
"ares.h"
void
ares_free_string
(
char
*
str
)
void
ares_free_string
(
void
*
str
)
{
free
(
str
);
}
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