diff options
author | Max Kellermann <max@duempel.org> | 2008-10-15 18:21:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-15 18:21:45 +0200 |
commit | 6eb62e476195db373c3c1ac05de4fa2adc6ff661 (patch) | |
tree | 3ac21994e8b37aed946a2bf8de7b6e71568452a8 /src/main.c | |
parent | 0031eaaff50ee3b9e9c9e59a7d72743d6674e0ae (diff) | |
download | mpd-6eb62e476195db373c3c1ac05de4fa2adc6ff661.tar.gz mpd-6eb62e476195db373c3c1ac05de4fa2adc6ff661.tar.xz mpd-6eb62e476195db373c3c1ac05de4fa2adc6ff661.zip |
client: optimized client_input_received()
Use memchr() instead of manually traversing the input buffer. Update
the client's properties after all commands have been processed. Check
for buffer overflow once.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions