mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
include result of strerror in messages logging errno; turn relay on by default (linux)
This commit is contained in:
parent
d5511d2ab3
commit
8796299a5a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue