[master] 8084cebcb Fix white-space copy&paste-o

Poul-Henning Kamp phk at FreeBSD.org
Wed Apr 14 08:19:05 UTC 2021


commit 8084cebcb539a4e344272b121177552ebfb7b5c7
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Apr 14 08:17:55 2021 +0000

    Fix white-space copy&paste-o

diff --git a/bin/varnishd/cache/cache_vrt.c b/bin/varnishd/cache/cache_vrt.c
index 76b427418..d31065245 100644
--- a/bin/varnishd/cache/cache_vrt.c
+++ b/bin/varnishd/cache/cache_vrt.c
@@ -155,23 +155,23 @@ static const uint8_t *
 bbsearch(int fam, const uint8_t *key, const uint8_t *base0,
     size_t nmemb, size_t size)
 {
-        const uint8_t *base = base0;
-        size_t lim;
-        int cmp;
-        const uint8_t *p;
-
-        for (lim = nmemb; lim != 0; lim >>= 1) {
-                p = base + (lim >> 1) * size;
-                cmp = acl_tbl_cmp(fam, key, p);
-                if (cmp == 0)
-                        return (p);
-                if (cmp > 0) {
+	const uint8_t *base = base0;
+	size_t lim;
+	int cmp;
+	const uint8_t *p;
+
+	for (lim = nmemb; lim != 0; lim >>= 1) {
+		p = base + (lim >> 1) * size;
+		cmp = acl_tbl_cmp(fam, key, p);
+		if (cmp == 0)
+			return (p);
+		if (cmp > 0) {
 			/* key > p: move right */
-                        base = p + size;
-                        lim--;
-                } /* else move left */
-        }
-        return (NULL);
+			base = p + size;
+			lim--;
+		} /* else move left */
+	}
+	return (NULL);
 }
 
 int


More information about the varnish-commit mailing list