diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-06-27 11:31:29 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-06-27 11:31:29 -0700 |
commit | 355cce3938a815feba1085569263ae0225cebfa6 (patch) | |
tree | d45f8bf01f9194e4f2e54e615ac4f1c740f344e7 /service/SoftwareUpdater.cpp | |
parent | 02d18af57d7d05d26e44ff2015f5bcf55ebce7a2 (diff) | |
download | infinitytier-355cce3938a815feba1085569263ae0225cebfa6.tar.gz infinitytier-355cce3938a815feba1085569263ae0225cebfa6.zip |
Rename Utils::snprintf due to it being a #define on one platform.
Diffstat (limited to 'service/SoftwareUpdater.cpp')
-rw-r--r-- | service/SoftwareUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/SoftwareUpdater.cpp b/service/SoftwareUpdater.cpp index d94beab5..e0519827 100644 --- a/service/SoftwareUpdater.cpp +++ b/service/SoftwareUpdater.cpp @@ -284,7 +284,7 @@ bool SoftwareUpdater::check(const uint64_t now) if ((now - _lastCheckTime) >= ZT_SOFTWARE_UPDATE_CHECK_PERIOD) { _lastCheckTime = now; char tmp[512]; - const unsigned int len = Utils::snprintf(tmp,sizeof(tmp), + const unsigned int len = Utils::ztsnprintf(tmp,sizeof(tmp), "%c{\"" ZT_SOFTWARE_UPDATE_JSON_VERSION_MAJOR "\":%d," "\"" ZT_SOFTWARE_UPDATE_JSON_VERSION_MINOR "\":%d," "\"" ZT_SOFTWARE_UPDATE_JSON_VERSION_REVISION "\":%d," |