diff options
Diffstat (limited to '')
-rw-r--r-- | src/libmpdclient.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmpdclient.h b/src/libmpdclient.h index c4a22b2d8..792894476 100644 --- a/src/libmpdclient.h +++ b/src/libmpdclient.h @@ -42,7 +42,6 @@ #include <sys/time.h> #include <stddef.h> -#define MPD_BUFFER_MAX_LENGTH 50000 #define MPD_WELCOME_MESSAGE "OK MPD " #define MPD_ERROR_TIMEOUT 10 /* timeout trying to talk to mpd */ @@ -117,7 +116,7 @@ typedef struct _mpd_Connection { int error; /* DON'T TOUCH any of the rest of this stuff */ int sock; - char buffer[MPD_BUFFER_MAX_LENGTH+1]; + char buffer[16384]; size_t buflen; size_t bufstart; int doneProcessing; |