Skip to content

Commit

Permalink
rs: add missing semicolon in partner UA header (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 authored Jan 29, 2024
1 parent d033e5d commit 1122326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/src/management/http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ fn create_full_user_agent(user_agent: &str) -> String {
let hklm = RegKey::predef(HKEY_LOCAL_MACHINE);
let key = hklm.open_subkey("SOFTWARE\\Microsoft\\Windows365");
if let Ok(id) = key.and_then(|k| k.get_value::<String, _>("PartnerId")) {
full_user_agent.push_str(" Windows-Partner-Id: ");
full_user_agent.push_str("; Windows-Partner-Id: ");
full_user_agent.push_str(&id);
}
}
Expand Down

0 comments on commit 1122326

Please sign in to comment.