From 19ee9f50a7d14f48ca993b7c8b21ef4ca3642809 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 10 10月 2020 10:25:45 +0800
Subject: [PATCH] Merge branch 'feature/vs2019_github_actions' of https://github.com/open-license-manager/open-license-manager into feature/vs2019_github_actions

---
 src/library/licensecc.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/library/licensecc.cpp b/src/library/licensecc.cpp
index 0573121..ea34b28 100644
--- a/src/library/licensecc.cpp
+++ b/src/library/licensecc.cpp
@@ -77,7 +77,7 @@
 	string project;
 	size_t str_size;
 	if (callerInformation != nullptr &&
-		(str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->project_name)) > 0) {
+		(str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->feature_name)) > 0) {
 		project = string(callerInformation->feature_name, str_size);
 	} else {
 		project = string(LCC_PROJECT_NAME);

--
Gitblit v1.9.1