author | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 17:48:39 +0000 (19:48 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 19:51:01 +0000 (21:51 +0200) | ||
commit | befdf6d46a30c7d0d1befe8bf127b8229f3ceeca | |
tree | 0be9fe9fd1b7b928c9b67124ba9a2ecafa136e24 | tree | snapshot |
parent | 61053ab09a52c4a0ca36ed4e7eb01cc8a26463d9 | commit | diff |
libmpdclient: check connection->sock >= 0
mpd_wait() must not be called when the socket is dead; add an
assertion there. In mpd_recv(), add a run-time check.
mpd_wait() must not be called when the socket is dead; add an
assertion there. In mpd_recv(), add a run-time check.
src/libmpdclient.c | diff | blob | history |