]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command.c
com_si(): Don't print git version string.
[paraslash.git] / command.c
index eb15875c36b8affba5a3defdce8f787ad73026ba..92002c340e62c0593bc2b534193d8fecb1ea997b 100644 (file)
--- a/command.c
+++ b/command.c
@@ -364,7 +364,7 @@ static int com_sender(struct command_context *cc)
                        usleep(100 * 1000);
                        continue;
                }
-               memcpy(&mmd->sender_cmd_data, &scd, sizeof(scd));
+               mmd->sender_cmd_data = scd;
                mutex_unlock(mmd_mutex);
                break;
        }
@@ -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,