lib/repo-refs: Fix typos in last commit
authorMatthew Leeds <matthew.leeds@endlessm.com>
Thu, 24 Aug 2017 21:56:48 +0000 (14:56 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 25 Aug 2017 16:54:15 +0000 (16:54 +0000)
This fixes a whitespace error and a mistake that made it into the last
commit, 7ed881baa, at the last minute.

Closes: #1112
Approved by: cgwalters

src/libostree/ostree-repo-refs.c

index 04c99a038a265dd0ea6b90d930948526c2995e62..f8af3c43f999b0801a680ecddb4703ce2e934e3e 100644 (file)
@@ -1215,10 +1215,10 @@ ostree_repo_list_collection_refs (OstreeRepo                 *self,
                   continue;
                 }
 
-              if (match_collection_id != NULL && g_strcmp0 (match_collection_id, current_collection_id) != 0)
+              if (match_collection_id != NULL && g_strcmp0 (match_collection_id, remote_collection_id) != 0)
                 continue;
               else
-                  current_collection_id = remote_collection_id;
+                current_collection_id = remote_collection_id;
             }
 
           if (!glnx_opendirat (dfd_iter.fd, dent->d_name, TRUE, &subdir_fd, error))