mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
update charset for Crystalfontz Model 632 and 634
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@864 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -208,13 +208,13 @@ static int mpd_update()
|
||||
if (conn == NULL || conn->error) {
|
||||
if (conn) {
|
||||
if (errorcnt < ERROR_DISPLAY)
|
||||
debug("[MPD] Error: [%s], try to reconnect to [%s]:[%i]\n", conn->errorStr, host, iport);
|
||||
debug("[MPD] Error: [%s], try to reconnect to [%s]:[%i]\n", conn->errorStr, host, iport);
|
||||
mpd_closeConnection(conn);
|
||||
} else
|
||||
debug("[MPD] initialize connect to [%s]:[%i]\n", host, iport);
|
||||
|
||||
conn = mpd_newConnection(host, iport, TIMEOUT_IN_S);
|
||||
if (conn->error) {
|
||||
if (conn->error) {
|
||||
if (errorcnt < ERROR_DISPLAY)
|
||||
error("[MPD] connection failed, give up...");
|
||||
if (errorcnt == ERROR_DISPLAY)
|
||||
|
||||
Reference in New Issue
Block a user