include result of strerror in messages logging errno; turn relay on by default (linux)

This commit is contained in:
ehouse 2007-02-04 01:22:00 +00:00
parent d5511d2ab3
commit 8796299a5a
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ DEFINES += -DFEATURE_TRAY_EDIT
# Bluetooth support # Bluetooth support
# DEFINES += -DXWFEATURE_IR # DEFINES += -DXWFEATURE_IR
DEFINES += -DXWFEATURE_BLUETOOTH DEFINES += -DXWFEATURE_BLUETOOTH
# DEFINES += -DXWFEATURE_RELAY DEFINES += -DXWFEATURE_RELAY
# Let users pick the tiles going into their trays # Let users pick the tiles going into their trays
#DEFINES += -DFEATURE_TRAY_EDIT #DEFINES += -DFEATURE_TRAY_EDIT

View file

@ -369,7 +369,7 @@ linux_init_relay_socket( CommonGlobals* cGlobals )
} else { } else {
close( sock ); close( sock );
sock = -1; sock = -1;
XP_STATUSF( "connect failed: %d", errno ); XP_STATUSF( "%s: connect failed: %s (%d)", __func__, strerror(errno), errno );
} }
} }