aboutsummaryrefslogtreecommitdiffstats
path: root/src/StatsServer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-07 08:50:39 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-07 09:01:02 +0100
commit8a93130b066efd90f5b7d775cb1b5812e7677863 (patch)
treea7bcf6c5c94ec9da89b684cf19e4126ffddf5001 /src/StatsServer.cpp
parent2356d1f77f4a2a3dd75638621d687dc9d3771d6c (diff)
downloaddabmux-8a93130b066efd90f5b7d775cb1b5812e7677863.tar.gz
dabmux-8a93130b066efd90f5b7d775cb1b5812e7677863.tar.bz2
dabmux-8a93130b066efd90f5b7d775cb1b5812e7677863.zip
repair versioning and tarball generationv0.4.0
Diffstat (limited to 'src/StatsServer.cpp')
-rw-r--r--src/StatsServer.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/StatsServer.cpp b/src/StatsServer.cpp
index 578f8d5..2e89134 100644
--- a/src/StatsServer.cpp
+++ b/src/StatsServer.cpp
@@ -157,13 +157,10 @@ void StatsServer::serverThread()
struct sockaddr_in serv_addr, cli_addr;
int n;
-#ifndef GITVERSION
-#define GITVERSION "-r???"
-#endif
int welcome_msg_len = snprintf(welcome_msg, 256,
"{ \"service\": \""
- "%s %s%s Stats Server\" }\n",
- PACKAGE_NAME, PACKAGE_VERSION, GITVERSION);
+ "%s %s Stats Server\" }\n",
+ PACKAGE_NAME, PACKAGE_VERSION);
m_sock = socket(AF_INET, SOCK_STREAM, 0);