summaryrefslogtreecommitdiff
path: root/one.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-10 13:51:10 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-10 13:51:10 -0800
commita064e19b8a78d3809e9f80fba010e0f53197c1a2 (patch)
treef3c92cea64dc0ed4eb66f56979d1ef252adb2355 /one.cpp
parent6fb49f68fc2ac3539732794f553f635610c92ef2 (diff)
downloadinfinitytier-a064e19b8a78d3809e9f80fba010e0f53197c1a2.tar.gz
infinitytier-a064e19b8a78d3809e9f80fba010e0f53197c1a2.zip
Refactor some JSON stuff for performance, and fix a build error.
Diffstat (limited to 'one.cpp')
-rw-r--r--one.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/one.cpp b/one.cpp
index c4fc30e2..1cda3fb1 100644
--- a/one.cpp
+++ b/one.cpp
@@ -897,9 +897,6 @@ static void printHelp(const char *cn,FILE *out)
fprintf(out,
COPYRIGHT_NOTICE ZT_EOL_S
LICENSE_GRANT ZT_EOL_S);
- std::string updateUrl(OneService::autoUpdateUrl());
- if (updateUrl.length())
- fprintf(out,"Automatic updates enabled:" ZT_EOL_S" %s" ZT_EOL_S" (all updates are securely authenticated by 256-bit ECDSA signature)" ZT_EOL_S"" ZT_EOL_S,updateUrl.c_str());
fprintf(out,"Usage: %s [-switches] [home directory]" ZT_EOL_S"" ZT_EOL_S,cn);
fprintf(out,"Available switches:" ZT_EOL_S);
fprintf(out," -h - Display this help" ZT_EOL_S);