diff options
author | Simon Matter <simon.matter@invoca.ch> | 2018-02-21 23:39:23 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-02-26 11:52:47 +0100 |
commit | 7c32938ac5b803a1630920dd027be33df07aa3df (patch) | |
tree | 52721488fd22f4d8c124fadf3cc4170767aae807 /nx-X11/programs/Xserver/hw/nxagent/Init.c | |
parent | 751760421f6644c22e30baa6ee8e791642d6a04d (diff) | |
download | nx-libs-7c32938ac5b803a1630920dd027be33df07aa3df.tar.gz nx-libs-7c32938ac5b803a1630920dd027be33df07aa3df.tar.bz2 nx-libs-7c32938ac5b803a1630920dd027be33df07aa3df.zip |
nxagent: Add -version cmdline option.
Fixes ArcticaProject/nx-libs#653.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Init.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c index a35e3d5a8..17c430d2b 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Init.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c @@ -85,9 +85,6 @@ is" without express or implied warranty. #undef DEBUG #undef DUMP -#define NXAGENT_VERSION NX_VERSION_CURRENT -#define NXAGENT_VERSION_STRING NX_VERSION_CURRENT_STRING - /* * ProcVector array defined in tables.c. */ @@ -234,7 +231,7 @@ void InitOutput(ScreenInfo *screenInfo, int argc, char *argv[]) if (serverGeneration <= 1) { - fprintf(stderr, "\nNXAGENT - Version " NXAGENT_VERSION_STRING "\n\n"); + fprintf(stderr, "\nNXAGENT - Version " NX_VERSION_CURRENT_STRING "\n\n"); fprintf(stderr, "Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)\n"); fprintf(stderr, "Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>\n"); fprintf(stderr, "Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>\n"); |