Fix SVACE issue : WGID 34575 54/63254/1 accepted/tizen/mobile/20160323.074712 accepted/tizen/mobile/20160323.140205 accepted/tizen/tv/20160323.074906 accepted/tizen/tv/20160323.140316 submit/tizen_mobile/20160323.025929 submit/tizen_mobile/20160323.104006 submit/tizen_tv/20160323.025919 submit/tizen_tv/20160323.103954
authormin7.choi <min7.choi@samsung.com>
Wed, 23 Mar 2016 02:45:02 +0000 (11:45 +0900)
committermin7.choi <min7.choi@samsung.com>
Wed, 23 Mar 2016 02:45:02 +0000 (11:45 +0900)
Change-Id: Id6c1963e49002320138df09f648509d8d7abacd0
Signed-off-by: min7.choi <min7.choi@samsung.com>
provider-interface/download-provider-interface.c

index fe0fd78..c0a5002 100755 (executable)
@@ -432,6 +432,7 @@ static int __connect_to_provider()
                                g_dp_client->channel = ret;
                                if (setsockopt(g_dp_client->channel, SOL_SOCKET, SO_RCVTIMEO, &tv_timeo, sizeof(tv_timeo)) < 0) {
                                        TRACE_STRERROR("[CRITICAL] setsockopt SO_RCVTIMEO");
+                                       errorcode = DP_ERROR_IO_ERROR;
                                        goto EXIT_CONNECT;
                                }
                        } else {