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
668dc0ad
Commit
668dc0ad
authored
15 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Make hostip.c compile again
parent
0b7e0eed
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/hostip.c
+8
-2
8 additions, 2 deletions
lib/hostip.c
with
8 additions
and
2 deletions
lib/hostip.c
+
8
−
2
View file @
668dc0ad
...
...
@@ -123,7 +123,7 @@
static
struct
curl_hash
hostname_cache
;
static
int
host_cache_initialized
;
#ifdef
CURL
DEBUG
#ifdef DEBUG
BUILD
static
int
ndns
=
0
;
#endif
...
...
@@ -711,13 +711,19 @@ static void freednsentry(void *freethis)
}
}
#ifdef CURLDEBUG
#if 0
TODO before 7.19.8: Give some use to this function or remove it.
#ifdef DEBUGBUILD
int curl_get_ndns(void)
{
return ndns;
}
#endif
#endif
/*
* Curl_mk_dnscache() creates a new DNS cache and returns the handle for it.
*/
...
...
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