|
|
@ -21,7 +21,6 @@ static size_t OnWriteData(void* buffer, size_t size, size_t nmemb, void* lpVoid)
|
|
|
|
|
|
|
|
|
|
|
|
static int SockOptCallback(void *clientp, curl_socket_t curlfd, curlsocktype purpose)
|
|
|
|
static int SockOptCallback(void *clientp, curl_socket_t curlfd, curlsocktype purpose)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return CURL_SOCKOPT_OK;
|
|
|
|
|
|
|
|
net_handle_t netHandle = *((net_handle_t *)clientp);
|
|
|
|
net_handle_t netHandle = *((net_handle_t *)clientp);
|
|
|
|
|
|
|
|
|
|
|
|
int res = android_setsocknetwork(netHandle, curlfd);
|
|
|
|
int res = android_setsocknetwork(netHandle, curlfd);
|
|
|
|