diff --git a/src/license.rs b/src/license.rs index 5db983448..f8f5d27d5 100644 --- a/src/license.rs +++ b/src/license.rs @@ -45,7 +45,7 @@ pub fn get_license_from_string(s: &str) -> ResultType { host = strs2[0]; key = strs2[1]; } else { - host = strs[0]; + host = strs[1]; } return Ok(License { host: host.to_owned(),