Skip to content

Commit 9f84570

Browse files
authored
Fix licensee_number typo
1 parent bc15561 commit 9f84570

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

client_demo/netlicensing_client_demo.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
int main(int argc, char* argv[]) {
88
using netlicensing::Product;
9-
std::string license_number = "I2C3VN7NA-DEMO";
9+
std::string licensee_number = "I2C3VN7NA-DEMO";
1010
if (argc > 1) {
11-
license_number = argv[1];
11+
licensee_number = argv[1];
1212
}
1313

1414
std::mt19937 gen;
@@ -45,9 +45,9 @@ int main(int argc, char* argv[]) {
4545
products = netlicensing::ProductService::list(ctx, "");
4646
std::cout << "after delete products count " << products.size() << std::endl;
4747

48-
if (!license_number.empty()) {
49-
std::cout << "start validation for " << license_number << std::endl;
50-
std::list<netlicensing::ValidationResult> vres = netlicensing::ValidationService::validate(ctx, license_number);
48+
if (!licensee_number.empty()) {
49+
std::cout << "start validation for " << licensee_number << std::endl;
50+
std::list<netlicensing::ValidationResult> vres = netlicensing::ValidationService::validate(ctx, licensee_number);
5151
std::cout << "got validation results: " << vres.size() << std::endl;
5252
for (auto val_res : vres) {
5353
std::cout << val_res.to_string() << std::endl;

0 commit comments

Comments
 (0)