diff options
author | Max Kellermann <max@duempel.org> | 2008-09-21 22:42:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-21 22:42:52 +0200 |
commit | a6df916494891d3dd7ab2262f1c74c6db4604c0c (patch) | |
tree | 24af6b40dbb684e65025ddf2d76de2683bd914e5 /src/screen_utils.c | |
parent | 85877791beb48d083d7dd8c60d017500cc68496d (diff) | |
download | mpd-a6df916494891d3dd7ab2262f1c74c6db4604c0c.tar.gz mpd-a6df916494891d3dd7ab2262f1c74c6db4604c0c.tar.xz mpd-a6df916494891d3dd7ab2262f1c74c6db4604c0c.zip |
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.
Diffstat (limited to 'src/screen_utils.c')
0 files changed, 0 insertions, 0 deletions