Merge pull request #533 from jonls/fix-error-handling

Fix bug where error code was not handled
This commit is contained in:
Jon Lund Steffensen
2017-10-12 15:47:22 -07:00
committed by GitHub
+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) {