From a034544ff981849a5c8e842c79d31271a075ad9b Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 1 Aug 2008 14:19:27 +0300 Subject: [PATCH] Fix initial download startup if using conic --- src/iap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iap.c b/src/iap.c index 61d243b..225bb46 100644 --- a/src/iap.c +++ b/src/iap.c @@ -148,6 +148,8 @@ switch (status) { g_printf("Connected\n"); iap_connected=TRUE; iap_connecting=FALSE; + if (!_curl_sid) + _curl_sid = g_timeout_add(100, (GSourceFunc)map_download_timeout, NULL); break; case CON_IC_STATUS_DISCONNECTED: g_printf("Disconnected\n"); @@ -173,7 +175,6 @@ if (connection==NULL) { } if (iap_connecting==TRUE) return TRUE; -g_printf("Requesting connection\n"); iap_connecting=TRUE; return con_ic_connection_connect(connection, CON_IC_CONNECT_FLAG_NONE); } -- 2.39.5