aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-06 14:55:31 +0200
committerMax Kellermann <max@duempel.org>2008-10-06 14:55:31 +0200
commit3a92aa17478c901b1704fb935723783b11f193e7 (patch)
tree75cd382c180f31e56eafdaaa077c8ec9a89be361 /src/wreadln.h
parent62388ceda61d89a9a58c5ba6181150912f67b93a (diff)
downloadmpd-3a92aa17478c901b1704fb935723783b11f193e7.tar.gz
mpd-3a92aa17478c901b1704fb935723783b11f193e7.tar.xz
mpd-3a92aa17478c901b1704fb935723783b11f193e7.zip
wreadln: use memcpy() for both cases
Use memcpy() even when the cursor is at the end. It copies only the trailing null terminator in this case. The constant "length" is declared here in preparation for the "wide character" patches.
Diffstat (limited to 'src/wreadln.h')
0 files changed, 0 insertions, 0 deletions