aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_play.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 01:05:16 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 01:05:16 +0200
commit96683ca4d3611e7c25364a1dbf326435727757d2 (patch)
treeccffe99ad0ff5113ed19d93f8fb68dfe56d7df7e /src/screen_play.c
parentbf8da42199fe351c844338ac6c09d715b25d34ed (diff)
downloadmpd-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/screen_play.c')
0 files changed, 0 insertions, 0 deletions