diff options
Diffstat (limited to 'src/proxy/proxytrack.h')
-rw-r--r-- | src/proxy/proxytrack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxy/proxytrack.h b/src/proxy/proxytrack.h index 6e4f755..b42f134 100644 --- a/src/proxy/proxytrack.h +++ b/src/proxy/proxytrack.h @@ -216,7 +216,7 @@ HTS_UNUSED static const char *jump_protocol_and_auth(const char *source) { #endif HTS_UNUSED static int linput_trim(FILE * fp, char *s, int max) { int rlen = 0; - char *ls = (char *) malloc(max + 2); + char *const ls = (char *) malloc(max + 1); s[0] = '\0'; if (ls) { |