~jonls/redshift/master

« back to all changes in this revision

Viewing changes to src/redshift.c

  • Committer: GitHub
  • Author(s): Jon Lund Steffensen
  • Date: 2017-10-12 22:47:22 UTC
  • mfrom: (371.1.1)
  • Revision ID: git-v1:f4ece7c8c1ab1e8b37679fc280f9d2495e0c893c
Merge pull request #533 from jonls/fix-error-handling

Fix bug where error code was not handled

Show diffs side-by-side

added added

removed removed

Lines of Context:
1249
1249
                           information. */
1250
1250
                        location_t new_loc;
1251
1251
                        int new_available;
1252
 
                        provider->handle(
 
1252
                        r = provider->handle(
1253
1253
                                location_state, &new_loc,
1254
1254
                                &new_available);
1255
1255
                        if (r < 0) {