mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-20 04:24:20 -04:00
Logging fixes
This commit is contained in:
parent
474d1c996c
commit
16c954fdf4
@ -142,7 +142,7 @@ void rend_callback(void) {
|
||||
/* here, we've seen the message, now we have to process it */
|
||||
|
||||
if(rend_read_message(&msg) != sizeof(msg)) {
|
||||
DPRINTF(E_FATAL,L_REND,"Error reading rendezvous message\n");
|
||||
DPRINTF(E_FATAL,L_REND,"Rendezvous socket closed (daap server crashed?) Aborting.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
@ -161,7 +161,7 @@ void rend_callback(void *info) {
|
||||
|
||||
/* here, we've seen the message, now we have to process it */
|
||||
if(rend_read_message(&msg) != sizeof(msg)) {
|
||||
DPRINTF(E_FATAL,L_REND,"Error reading rendezvous message\n");
|
||||
DPRINTF(E_FATAL,L_REND,"Rendezvous socket closed (daap server crashed?) Aborting.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,9 @@
|
||||
Change History (most recent first):
|
||||
|
||||
$Log$
|
||||
Revision 1.22 2004/12/09 05:05:54 rpedde
|
||||
Logging fixes
|
||||
|
||||
Revision 1.21 2004/11/30 04:17:32 rpedde
|
||||
use pascal packed string to avoid invalid rdata error
|
||||
|
||||
@ -400,8 +403,7 @@ void rend_callback(void) {
|
||||
|
||||
if((result=rend_read_message(&msg)) != sizeof(msg)) {
|
||||
err=errno;
|
||||
DPRINTF(E_DBG,L_REND,"Expected %d, got %d\n",sizeof(msg),result);
|
||||
DPRINTF(E_FATAL,L_REND,"Rendezvous pipe closed... Exiting\n");
|
||||
DPRINTF(E_FATAL,L_REND,"Rendezvous socket closed (daap server crashed?) Aborting.\n");
|
||||
gStopNow=mDNStrue;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user