Get rid of the update stuff, and the web server shutdown that sometimes hangs

This commit is contained in:
Ron Pedde 2004-05-10 03:31:11 +00:00
parent 273cf9375a
commit 7ba8f31273

View File

@ -661,11 +661,14 @@ int main(int argc, char *argv[]) {
while(!config.stop) { while(!config.stop) {
if(config.reload) { if(config.reload) {
config.reload=0; config.reload=0;
/* Need to get traces of an update, obviously... this ain't it.
DPRINTF(ERR_LOG,"Reloading configuration\n"); DPRINTF(ERR_LOG,"Reloading configuration\n");
if(scan_init(config.mp3dir)) { if(scan_init(config.mp3dir)) {
DPRINTF(ERR_LOG,"Error rescanning... exiting\n"); DPRINTF(ERR_LOG,"Error rescanning... exiting\n");
config.stop=1; config.stop=1;
} }
*/
} }
sleep(2); sleep(2);
} }
@ -677,8 +680,14 @@ int main(int argc, char *argv[]) {
rend_stop(); rend_stop();
} }
/* Have a refcount problem with the web server...
* Need to troubleshoot it more later, but for now, we'll
* just stop the webserver the non-graceful way. */
/*
DPRINTF(ERR_LOG,"Stopping web server\n"); DPRINTF(ERR_LOG,"Stopping web server\n");
ws_stop(server); ws_stop(server);
*/
config_close(); config_close();