Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 20, 2024
1 parent b8f8b46 commit 73bda36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nvhttp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ namespace nvhttp {
client.uniqueID = uniqID;

// Import from old format
if(device_node.count("certs")) {
if (device_node.count("certs")) {
for (auto &[_, el] : device_node.get_child("certs")) {
named_cert_t named_cert;
named_cert.name = ""s;
Expand All @@ -264,7 +264,7 @@ namespace nvhttp {
}
}

if(device_node.count("named_certs")) {
if (device_node.count("named_certs")) {
for (auto &[_, el] : device_node.get_child("named_certs")) {
named_cert_t named_cert;
named_cert.name = el.get_child("name").get_value<std::string>();
Expand Down Expand Up @@ -763,7 +763,7 @@ namespace nvhttp {
named_cert_nodes.push_back(std::make_pair(""s, named_cert_node));
}
}

return named_cert_nodes;
}

Expand Down

0 comments on commit 73bda36

Please sign in to comment.