mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
ripple bill-suggestions
This commit is contained in:
+1
-1
@@ -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:]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user