diff options
author | Max Kellermann <max@duempel.org> | 2008-09-18 01:05:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-18 01:05:16 +0200 |
commit | 96683ca4d3611e7c25364a1dbf326435727757d2 (patch) | |
tree | ccffe99ad0ff5113ed19d93f8fb68dfe56d7df7e /src/options.c | |
parent | bf8da42199fe351c844338ac6c09d715b25d34ed (diff) | |
download | mpd-96683ca4d3611e7c25364a1dbf326435727757d2.tar.gz mpd-96683ca4d3611e7c25364a1dbf326435727757d2.tar.xz mpd-96683ca4d3611e7c25364a1dbf326435727757d2.zip |
libmpdclient: smaller error buffer
512 characters should be well enough for error messages which are
actually being displayed somewhere. Use sizeof(errorStr) instead of
MPD_BUFFER_MAX_LENGTH everywhere. Do proper length checking when
copying the output buffer to errorStr.
Diffstat (limited to 'src/options.c')
0 files changed, 0 insertions, 0 deletions