maybe this fixes something ?
git-svn-id: https://svn.musicpd.org/mpd/trunk@1594 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
cdb67649a6
commit
fd229dae57
@ -121,8 +121,8 @@ void inputStream_initHttp() {
|
|||||||
static char * base64Dup(char * s) {
|
static char * base64Dup(char * s) {
|
||||||
int i;
|
int i;
|
||||||
int len = strlen(s);
|
int len = strlen(s);
|
||||||
char * ret = malloc(BASE64_LENGTH(len)+1);
|
char * ret = calloc(BASE64_LENGTH(len)+1, 1);
|
||||||
char * p = ret;
|
unsigned char * p = (unsigned char *)ret;
|
||||||
|
|
||||||
char tbl[64] = {
|
char tbl[64] = {
|
||||||
'A','B','C','D','E','F','G','H',
|
'A','B','C','D','E','F','G','H',
|
||||||
|
Loading…
Reference in New Issue
Block a user