summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBang Kwang-Min <justine.bang@samsung.com>2013-03-20 20:57:17 +0900
committerBang Kwang-Min <justine.bang@samsung.com>2013-03-27 14:59:13 +0900
commitf3764a16b07b36c26a602bc7541d142e59d4b297 (patch)
tree9830fb1e0b6f5092e4fcd65f2cb2ed78f8505e03
parent40c7838cf67edcc25e92191468aab5fa5855d984 (diff)
downloaddownload-provider-f3764a16b07b36c26a602bc7541d142e59d4b297.tar.gz
download-provider-f3764a16b07b36c26a602bc7541d142e59d4b297.tar.bz2
download-provider-f3764a16b07b36c26a602bc7541d142e59d4b297.zip
missing errorcode
Change-Id: Ie1a76a157796f29f58144b8d3be7d00ab117fd19
-rwxr-xr-xprovider-interface/download-provider-interface.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/provider-interface/download-provider-interface.c b/provider-interface/download-provider-interface.c
index a207d6c..b5d4926 100755
--- a/provider-interface/download-provider-interface.c
+++ b/provider-interface/download-provider-interface.c
@@ -242,6 +242,12 @@ static int __dp_interface_convert_errorcode(int errorcode)
case DP_ERROR_OUT_OF_MEMORY:
TRACE_INFO("ERROR_OUT_OF_MEMORY");
return DOWNLOAD_ADAPTOR_ERROR_OUT_OF_MEMORY;
+ case DP_ERROR_IO_EAGAIN:
+ TRACE_INFO("ERROR_IO_ERROR(EAGAIN)");
+ return DOWNLOAD_ADAPTOR_ERROR_IO_ERROR;
+ case DP_ERROR_IO_EINTR:
+ TRACE_INFO("ERROR_IO_ERROR(EINTR)");
+ return DOWNLOAD_ADAPTOR_ERROR_IO_ERROR;
case DP_ERROR_IO_ERROR:
TRACE_INFO("ERROR_IO_ERROR");
return DOWNLOAD_ADAPTOR_ERROR_IO_ERROR;