projects
/
platform
/
core
/
api
/
http.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44bda0
)
Fix the return value for _transaction_submit
29/140129/2
author
Taesoo Jun
<steve.jun@samsung.com>
Mon, 24 Jul 2017 03:49:28 +0000
(12:49 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Mon, 24 Jul 2017 09:33:21 +0000
(18:33 +0900)
Change-Id: I0df3a173068d1a6b814fa858c010c5551f7cfd51
src/http_transaction.c
patch
|
blob
|
history
diff --git
a/src/http_transaction.c
b/src/http_transaction.c
index
08e9fb4
..
8f65c8b
100644
(file)
--- a/
src/http_transaction.c
+++ b/
src/http_transaction.c
@@
-471,10
+471,12
@@
int _transaction_submit(gpointer user_data)
}
ret = curl_multi_perform(session->multi_handle, &session->still_running);
- if (ret == CURLM_OK)
+ if (ret == CURLM_OK)
{
_http_transaction_start_timer(5, curl_request_check, transaction);
- else
+ } else {
print_curl_multi_errorCode(ret);
+ ret = HTTP_ERROR_OPERATION_FAILED;
+ }
return ret;
}