From 3eeb130c21f94770cec666220f867b7f91b13763 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周一, 10 2月 2020 05:07:32 +0800 Subject: [PATCH] fix ubuntu 16.10 --- src/library/locate/LocatorStrategy.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp index 8bde5f1..5e64648 100644 --- a/src/library/locate/LocatorStrategy.cpp +++ b/src/library/locate/LocatorStrategy.cpp @@ -15,7 +15,7 @@ using namespace std; const string LocatorStrategy::retrieve_license_content(const string &licenseLocation) const { - return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH); + return get_file_contents(licenseLocation.c_str(), LCC_API_MAX_LICENSE_DATA_LENGTH); } } // namespace locate -- Gitblit v1.9.1