mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: Fix guestfish so it can recognize sheepdog://... as a valid URI.
Because "sheepdog" is 8 characters, it wasn't recognized before.
This commit is contained in:
@@ -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--) {
|
||||
|
||||
Reference in New Issue
Block a user