wildmatch test: use a paranoia pattern from nul_match()
[gitweb.git] / fetch-pack.c
index 105506e9aa5e5ae52dff30866d681331323f1679..008b25d3db08726b0fc1569f88fba76694bbcc12 100644 (file)
@@ -611,7 +611,7 @@ static int tip_oids_contain(struct oidset *tip_oids,
         * add to "newlist" between calls, the additions will always be for
         * oids that are already in the set.
         */
-       if (!tip_oids->map.tablesize) {
+       if (!tip_oids->map.map.tablesize) {
                add_refs_to_oidset(tip_oids, unmatched);
                add_refs_to_oidset(tip_oids, newlist);
        }