aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 01:05:14 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 01:05:14 +0200
commitbf8da42199fe351c844338ac6c09d715b25d34ed (patch)
tree3d2b8ebab852207fdc6a44ec52cf22579a403b89 /src/playlist.h
parent7fff0ce33c1ebf8806827b6c5fb7dfb978ff5cc3 (diff)
downloadmpd-bf8da42199fe351c844338ac6c09d715b25d34ed.tar.gz
mpd-bf8da42199fe351c844338ac6c09d715b25d34ed.tar.xz
mpd-bf8da42199fe351c844338ac6c09d715b25d34ed.zip
libmpdclient: use memmove() instead of strcpy() for moving the buffer
In general, don't treat the input buffer as a null-terminated string: don't append '\0', don't use strchr() and strtok(). To delete consumed portions of the buffer, strcpy() is bad anyway, because it does not allow overlapping buffers.
Diffstat (limited to 'src/playlist.h')
0 files changed, 0 insertions, 0 deletions