[master] e2286dfbb vav: Fold main loop condition
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Jul 2 16:22:04 UTC 2021
commit e2286dfbba7214cf82faee220256e0975f127541
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri Jul 2 11:35:13 2021 +0200
vav: Fold main loop condition
diff --git a/lib/libvarnish/vav.c b/lib/libvarnish/vav.c
index 0b76301b7..be9db713b 100644
--- a/lib/libvarnish/vav.c
+++ b/lib/libvarnish/vav.c
@@ -154,9 +154,7 @@ VAV_ParseTxt(const char *b, const char *e, int *argc, int flag)
if (argv == NULL)
return (NULL);
- for (;;) {
- if (b >= e)
- break;
+ while (b < e) {
if (isspace(*b)) {
b++;
continue;
More information about the varnish-commit
mailing list