Init mmd->sender_cmd_data.cmd_num in vss_init().
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index 704c393..8a9d5f6 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -138,6 +138,7 @@ void vss_init(void)
        }
        free(hn);
        free(home);
+       mmd->sender_cmd_data.cmd_num = -1;
        if (conf.autoplay_given) {
                struct timeval now, tmp;
                mmd->vss_status_flags |= VSS_PLAYING;