From e3df223a5aed82b7e502bef327d57dd54d98587b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 30 Jul 2013 16:13:24 +0100 Subject: [PATCH] fish: Fix guestfish so it can recognize sheepdog://... as a valid URI. Because "sheepdog" is 8 characters, it wasn't recognized before. --- fish/uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/uri.c b/fish/uri.c index 9c0892f71..4c235e350 100644 --- a/fish/uri.c +++ b/fish/uri.c @@ -88,7 +88,7 @@ is_uri (const char *arg) if (!p) return 0; - if (p - arg >= 8) + if (p - arg > 8) return 0; for (p--; p >= arg; p--) {