mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2025-01-03 14:56:35 -05:00
Shrink buffers to PATH_MAX.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12686 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
84bf642a1e
commit
40566705ae
@ -641,7 +641,7 @@ int
|
||||
streamPlaylist(shout_t *shout, const char *fileName)
|
||||
{
|
||||
const char *song;
|
||||
char lastSong[PATH_MAX + 1];
|
||||
char lastSong[PATH_MAX];
|
||||
|
||||
if (playlist == NULL) {
|
||||
if (pezConfig->fileNameIsProgram) {
|
||||
|
@ -135,7 +135,7 @@ playlist_read(const char *filename)
|
||||
playlist_t *pl;
|
||||
unsigned long line;
|
||||
FILE *filep;
|
||||
char buf[PATH_MAX + 1];
|
||||
char buf[PATH_MAX];
|
||||
|
||||
pl = playlist_create(filename);
|
||||
|
||||
@ -470,7 +470,7 @@ const char *
|
||||
playlist_run_program(playlist_t *pl)
|
||||
{
|
||||
FILE *filep;
|
||||
char buf[PATH_MAX + 1];
|
||||
char buf[PATH_MAX];
|
||||
|
||||
if (pl == NULL) {
|
||||
printf("%s: playlist_run_program(): Internal error: NULL argument\n",
|
||||
|
Loading…
Reference in New Issue
Block a user