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
e70c0913
Commit
e70c0913
authored
15 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
- Fix configure_socket() to use ares_socket_t instead of int data type.
parent
5b2a31ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ares/ares_process.c
+2
-2
2 additions, 2 deletions
ares/ares_process.c
with
2 additions
and
2 deletions
ares/ares_process.c
+
2
−
2
View file @
e70c0913
...
...
@@ -92,7 +92,7 @@ static void skip_server(ares_channel channel, struct query *query,
int
whichserver
);
static
void
next_server
(
ares_channel
channel
,
struct
query
*
query
,
struct
timeval
*
now
);
static
int
configure_socket
(
in
t
s
,
ares_channel
channel
);
static
int
configure_socket
(
ares_socket_
t
s
,
ares_channel
channel
);
static
int
open_tcp_socket
(
ares_channel
channel
,
struct
server_state
*
server
);
static
int
open_udp_socket
(
ares_channel
channel
,
struct
server_state
*
server
);
static
int
same_questions
(
const
unsigned
char
*
qbuf
,
int
qlen
,
...
...
@@ -856,7 +856,7 @@ static int setsocknonblock(ares_socket_t sockfd, /* operate on this */
#endif
}
static
int
configure_socket
(
in
t
s
,
ares_channel
channel
)
static
int
configure_socket
(
ares_socket_
t
s
,
ares_channel
channel
)
{
setsocknonblock
(
s
,
TRUE
);
...
...
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