]> git.tuebingen.mpg.de Git - paraslash.git/commit
audiod: Document and fix command handler return values.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 4 Apr 2015 19:51:25 +0000 (19:51 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 12 Aug 2015 21:23:47 +0000 (23:23 +0200)
commitcd624494dc77e7283ee87bc474c55b0b1d2c2363
tree97b3aa4e3ab91ae1477d528acd5711d4807f0d72
parent6aea41e619e9ec72167483465ca959715faa8e55
audiod: Document and fix command handler return values.

It has always been the case that a positive return value from a
command handler causes audiod to dump all audiod status items to all
clients. This behaviour is not documented though, and some command
handlers get it wrong. In fact, the help, stat, tasks, grab, version
commands all return positive values although those commands never
change any status items.

This comment documents the meaning of the return value and fixes up
the above command handlers.
audiod_command.c