diff options
author | Max Kellermann <max@duempel.org> | 2008-10-06 14:55:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-06 14:55:31 +0200 |
commit | 3a92aa17478c901b1704fb935723783b11f193e7 (patch) | |
tree | 75cd382c180f31e56eafdaaa077c8ec9a89be361 /src/wreadln.h | |
parent | 62388ceda61d89a9a58c5ba6181150912f67b93a (diff) | |
download | mpd-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