Fix bug where error code was not handled

This commit is contained in:
Jon Lund Steffensen
2017-10-12 14:01:28 -07:00
parent f0ac5484c1
commit 86bb509eca
+1 -1
View File
@@ -1249,7 +1249,7 @@ run_continual_mode(const location_provider_t *provider,
information. */
location_t new_loc;
int new_available;
provider->handle(
r = provider->handle(
location_state, &new_loc,
&new_available);
if (r < 0) {