From: Matthew Leeds Date: Thu, 24 Aug 2017 21:56:48 +0000 (-0700) Subject: lib/repo-refs: Fix typos in last commit X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~32^2~61 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5f8e339e45314174dd49221fcf09197e8d1e7ba4;p=ostree.git lib/repo-refs: Fix typos in last commit 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 --- diff --git a/src/libostree/ostree-repo-refs.c b/src/libostree/ostree-repo-refs.c index 04c99a03..f8af3c43 100644 --- a/src/libostree/ostree-repo-refs.c +++ b/src/libostree/ostree-repo-refs.c @@ -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))