mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2025-02-02 15:07:45 -05:00
Make this build on Windows and not segfault the MIPSpro C compiler version <7.2.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12717 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
309b8fbce9
commit
cd37dd2e26
@ -442,7 +442,7 @@ metadata_program_update(metadata_t *md, enum metadata_request md_req)
|
|||||||
{
|
{
|
||||||
FILE *filep;
|
FILE *filep;
|
||||||
char buf[METADATA_MAX + 1];
|
char buf[METADATA_MAX + 1];
|
||||||
char command[PATH_MAX + strlen(" artist") + 1];
|
char command[PATH_MAX + sizeof(" artist")];
|
||||||
|
|
||||||
if (md == NULL) {
|
if (md == NULL) {
|
||||||
printf("%s: metadata_program_update(): Internal error: NULL argument\n",
|
printf("%s: metadata_program_update(): Internal error: NULL argument\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user