Code

libmpdclient: don't strdup() MPD's welcome message
authorMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 23:00:12 +0000 (01:00 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 23:00:12 +0000 (01:00 +0200)
commit7fff0ce33c1ebf8806827b6c5fb7dfb978ff5cc3
tree09a69abedc03d6bd97c37e523b666b4b28c28f00
parenta88a4249b0f8bc7977dc265fade64f8943b70a19
libmpdclient: don't strdup() MPD's welcome message

Why bother duplicating the buffer, when we can simply parse the
response directly from the input buffer?
src/libmpdclient.c