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
9bece2b3
Commit
9bece2b3
authored
18 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
additional renames of Curl_ourerrno => Curl_sockerrno
parent
e85e3054
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
lib/gtls.c
+1
-1
1 addition, 1 deletion
lib/gtls.c
lib/hostip6.c
+1
-1
1 addition, 1 deletion
lib/hostip6.c
lib/select.c
+2
-2
2 additions, 2 deletions
lib/select.c
lib/sendf.c
+1
-1
1 addition, 1 deletion
lib/sendf.c
lib/ssluse.c
+1
-1
1 addition, 1 deletion
lib/ssluse.c
with
6 additions
and
6 deletions
lib/gtls.c
+
1
−
1
View file @
9bece2b3
...
...
@@ -159,7 +159,7 @@ static CURLcode handshake(struct connectdata *conn,
}
else
{
/* anything that gets here is fatally bad */
failf
(
data
,
"select on SSL socket, errno: %d"
,
Curl_
our
errno
());
failf
(
data
,
"select on SSL socket, errno: %d"
,
Curl_
sock
errno
());
return
CURLE_SSL_CONNECT_ERROR
;
}
}
...
...
This diff is collapsed.
Click to expand it.
lib/hostip6.c
+
1
−
1
View file @
9bece2b3
...
...
@@ -201,7 +201,7 @@ static void dump_addrinfo(struct connectdata *conn, const struct addrinfo *ai)
if
(
Curl_printable_address
(
ai
,
buf
,
sizeof
(
buf
)))
printf
(
"%s
\n
"
,
buf
);
else
printf
(
"failed; %s
\n
"
,
Curl_strerror
(
conn
,
Curl_
our
errno
()));
printf
(
"failed; %s
\n
"
,
Curl_strerror
(
conn
,
Curl_
sock
errno
()));
}
}
#else
...
...
This diff is collapsed.
Click to expand it.
lib/select.c
+
2
−
2
View file @
9bece2b3
...
...
@@ -152,7 +152,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
do
{
r
=
select
((
int
)
maxfd
+
1
,
&
fds_read
,
&
fds_write
,
&
fds_err
,
&
timeout
);
}
while
((
r
==
-
1
)
&&
(
Curl_
our
errno
()
==
EINTR
));
}
while
((
r
==
-
1
)
&&
(
Curl_
sock
errno
()
==
EINTR
));
if
(
r
<
0
)
return
-
1
;
...
...
@@ -237,7 +237,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
do
{
r
=
select
((
int
)
maxfd
+
1
,
&
fds_read
,
&
fds_write
,
&
fds_err
,
ptimeout
);
}
while
((
r
==
-
1
)
&&
(
Curl_
our
errno
()
==
EINTR
));
}
while
((
r
==
-
1
)
&&
(
Curl_
sock
errno
()
==
EINTR
));
if
(
r
<
0
)
return
-
1
;
...
...
This diff is collapsed.
Click to expand it.
lib/sendf.c
+
1
−
1
View file @
9bece2b3
...
...
@@ -43,7 +43,7 @@
#include
<curl/curl.h>
#include
"urldata.h"
#include
"sendf.h"
#include
"connect.h"
/* for the Curl_
our
errno() proto */
#include
"connect.h"
/* for the Curl_
sock
errno() proto */
#include
"sslgen.h"
#define _MPRINTF_REPLACE
/* use the internal *printf() functions */
...
...
This diff is collapsed.
Click to expand it.
lib/ssluse.c
+
1
−
1
View file @
9bece2b3
...
...
@@ -49,7 +49,7 @@
#include
"url.h"
/* for the ssl config check function */
#include
"inet_pton.h"
#include
"ssluse.h"
#include
"connect.h"
/* Curl_
our
errno() proto */
#include
"connect.h"
/* Curl_
sock
errno() proto */
#include
"strequal.h"
#include
"select.h"
#include
"sslgen.h"
...
...
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