]> git.tuebingen.mpg.de Git - paraslash.git/commit
com_jmp(): Handle negative values gracefully.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jul 2021 12:36:43 +0000 (14:36 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 Aug 2021 18:36:10 +0000 (20:36 +0200)
commitd6a87acd98b9e451d488e31b92cdae7673c30ac6
tree03a732ba7f950e29086b3293884738282bf6d0df
parent12f3368848dadafec9f00a137feff7f3597939be
com_jmp(): Handle negative values gracefully.

Currently these get silently converted to a (large) unsigned number,
which causes para_server to skip to the next audio file. This patch
modifies the command handler to check whether the given value is
within range and fails the command if it is out of range.

Remove an uninteresting log message while at it.
command.c