Fix Svace issue 35/62635/1
authormin7.choi <min7.choi@samsung.com>
Thu, 17 Mar 2016 07:01:48 +0000 (16:01 +0900)
committermin7.choi <min7.choi@samsung.com>
Thu, 17 Mar 2016 07:01:48 +0000 (16:01 +0900)
Change-Id: I38f9d7d12b189e1cc06bae3cb25b7b433a1eb5d7
Signed-off-by: min7.choi <min7.choi@samsung.com>
provider-interface/download-provider-interface.c

index 7c6ed32..fe0fd78 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");
+                                       goto EXIT_CONNECT;
                                }
                        } else {
                                errorcode = -ret;