ripple bill-suggestions

This commit is contained in:
Colin Davidson
2023-03-02 06:56:54 -08:00
parent 090723179b
commit 38d58e818c
3 changed files with 15 additions and 24 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ split_url :: proc(url: string, allocator := context.allocator) -> (scheme, host,
s := url
i := strings.last_index(s, "://")
if i != -1 {
if i >= 0 {
scheme = s[:i]
s = s[i+3:]
}