mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 21:48:33 +00:00
fix typo
This commit is contained in:
parent
74392a5491
commit
841c0c962f
@ -142,7 +142,7 @@ static int uds_connect(mpd_Connection *connection, const char *host,
|
|||||||
/* connect stuff */
|
/* connect stuff */
|
||||||
if (do_connect_fail(connection, (struct sockaddr *)&addr, SUN_LEN(&addr))) {
|
if (do_connect_fail(connection, (struct sockaddr *)&addr, SUN_LEN(&addr))) {
|
||||||
snprintf(connection->errorStr, MPD_ERRORSTR_MAX_LENGTH,
|
snprintf(connection->errorStr, MPD_ERRORSTR_MAX_LENGTH,
|
||||||
"problems cconnecting socket: %s", strerror(errno));
|
"problems connecting socket: %s", strerror(errno));
|
||||||
closesocket(connection->sock);
|
closesocket(connection->sock);
|
||||||
connection->sock = -1;
|
connection->sock = -1;
|
||||||
connection->error = MPD_ERROR_SYSTEM;
|
connection->error = MPD_ERROR_SYSTEM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user