author | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 20:42:52 +0000 (22:42 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 20:42:52 +0000 (22:42 +0200) | ||
commit | a6df916494891d3dd7ab2262f1c74c6db4604c0c | |
tree | 24af6b40dbb684e65025ddf2d76de2683bd914e5 | tree | snapshot |
parent | 85877791beb48d083d7dd8c60d017500cc68496d | commit | diff |
mpdclient: check errorCode only if MPD_ERROR_ACK is set
connection->errorCode has an undefined value when connection->error is
not MPD_ERROR_ACK. Read it only if MPD_ERROR_ACK is set, to make
valgrind happy.
connection->errorCode has an undefined value when connection->error is
not MPD_ERROR_ACK. Read it only if MPD_ERROR_ACK is set, to make
valgrind happy.
src/mpdclient.c | diff | blob | history |