com_si(): Don't print git version string.
authorAndre Noll <maan@systemlinux.org>
Thu, 19 Jun 2014 09:47:16 +0000 (11:47 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 14 Aug 2014 06:35:41 +0000 (08:35 +0200)
We have com_version() for this.

command.c

index fcf0803560e214394b77e7e8945f721a799b4537..92002c340e62c0593bc2b534193d8fecb1ea997b 100644 (file)
--- a/command.c
+++ b/command.c
@@ -387,7 +387,6 @@ static int com_si(struct command_context *cc)
        }
        ut = get_server_uptime_str(now);
        ret = xasprintf(&msg,
-               "version: %s\n"
                "up: %s\nplayed: %u\n"
                "server_pid: %d\n"
                "afs_pid: %d\n"
@@ -395,7 +394,6 @@ static int com_si(struct command_context *cc)
                "current loglevel: %s\n"
                "supported audio formats: %s\n"
                "%s",
-               version_git(),
                ut, mmd->num_played,
                (int)getppid(),
                (int)mmd->afs_pid,