gnss: flush tmp_file after downloading gpsOneXtra data

This commit is contained in:
ArenM
2021-09-12 16:03:45 -04:00
parent 2fcb5852ae
commit ee10cafa00

View File

@@ -238,7 +238,10 @@ static void fetch_assistance_data(struct EG25Manager *manager)
} }
g_message("Fetching GNSS assistance data from %s was successfull", url); g_message("Fetching GNSS assistance data from %s was successfull", url);
fflush(tmp_file);
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
g_free(url);
/* Go to the next step */ /* Go to the next step */
manager->gnss_assistance_step++; manager->gnss_assistance_step++;