Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
6be4d656
Commit
6be4d656
authored
5 years ago
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
eec781f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
curl_wrapper.h
jlib/util/curl_wrapper.h
+4
-2
No files found.
jlib/util/curl_wrapper.h
View file @
6be4d656
...
...
@@ -90,7 +90,7 @@ struct Curl
static
void
dump_slist
(
curl_slist
*
list
)
{
JLOG_INFO
(
"dumping curl_slist:"
);
while
(
list
)
{
LOG_INFO
(
" {:X}"
,
list
->
data
);
J
LOG_INFO
(
" {:X}"
,
list
->
data
);
list
=
list
->
next
;
}
}
...
...
@@ -119,7 +119,6 @@ struct Curl
if
(
header_size
<
0
)
{
#ifdef JLIB_LOG2_ENABLED
JLOG_ERRO
(
"get responce headers error"
);
ec
=
HBVideoPlatform
::
CurlErrorCode
::
GET_RESPONCE_HEADERS_ERROR
;
#endif // JLIB_LOG2_ENABLED
return
false
;
}
...
...
@@ -141,6 +140,9 @@ struct Curl
if
(
ret
!=
CURLE_OK
)
{
lastErorrCode_
=
ret
;
lastErrorMsg_
=
curl_easy_strerror
(
ret
);
#ifdef JLIB_LOG2_ENABLED
JLOG_ERRO
(
"curl_easy_perform error {}:{}"
,
lastHttpCode_
,
lastErrorMsg_
);
#endif // JLIB_LOG2_ENABLED
return
false
;
}
return
parse_centent
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment