]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
aft: Do not invalidate status items when closing the audio file table.
authorAndre Noll <maan@systemlinux.org>
Sat, 4 Jun 2011 11:38:02 +0000 (13:38 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 4 Jun 2011 11:38:02 +0000 (13:38 +0200)
Currently aft_close() frees the global variables status_items and
parser_friendly_status_items which are used for the stat comand of
para_server. This function is called on exit and when para_server
receives SIGHUP, the latter may happen while streaming. In this case
clients which connect after the SIGHUP do not see any aft status
items until the audio file changes.

Fix this flaw simply by not freeing the status item buffers until
they are recomputed anyway.


No differences found