chiark / gitweb /
server: docs: remove deprecated configuration and user upgrade.
[disorder] / server / server.c
index 1169e2fa09f6f7756b6c33e19e2c6bc6739b160c..44c3a87775793edd1c667bb3f37acf66917109fd 100644 (file)
@@ -634,7 +634,7 @@ static int c_queue(struct conn *c,
       if((l = trackdb_get(playing->track, "_length"))
         && (length = atol(l))) {
        xtime(&when);
-       when += length - playing->sofar + config->gap;
+       when += length - playing->sofar;
       }
     } else
       /* Nothing is playing but playing is enabled, so whatever is
@@ -649,7 +649,7 @@ static int c_queue(struct conn *c,
     if(when) {
       if((l = trackdb_get(q->track, "_length"))
         && (length = atol(l)))
-       when += length + config->gap;
+       when += length;
       else
        when = 0;
     }