From 5f8e339e45314174dd49221fcf09197e8d1e7ba4 Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Thu, 24 Aug 2017 14:56:48 -0700 Subject: [PATCH] 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 --- src/libostree/ostree-repo-refs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))