Skip to content

Commit

Permalink
Use lowercase property name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 20, 2024
1 parent bb3fd9a commit 67988be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvhttp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace nvhttp {
pt::ptree named_cert_node;
named_cert_node.put("name"s, named_cert.name);
named_cert_node.put("cert"s, named_cert.cert);
named_cert_node.put("uniqueID"s, named_cert.uniqueID);
named_cert_node.put("uniqueid"s, named_cert.uniqueID);
named_cert_nodes.push_back(std::make_pair(""s, named_cert_node));
}
node.add_child("named_certs"s, named_cert_nodes);
Expand Down Expand Up @@ -269,7 +269,7 @@ namespace nvhttp {
named_cert_t named_cert;
named_cert.name = el.get_child("name").get_value<std::string>();
named_cert.cert = el.get_child("cert").get_value<std::string>();
named_cert.uniqueID = el.get_child("uniqueID").get_value<std::string>();
named_cert.uniqueID = el.get_child("uniqueid").get_value<std::string>();
client.named_certs.emplace_back(named_cert);
client.certs.emplace_back(named_cert.cert);
}
Expand Down

0 comments on commit 67988be

Please sign in to comment.