maybe this matters ?

git-svn-id: https://svn.musicpd.org/mpd/trunk@1595 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-06-21 00:47:18 +00:00
parent fd229dae57
commit e0cbce6d38

View File

@ -166,7 +166,8 @@ static char * proxyAuthString(char * user, char * password) {
templen = strlen(user) + strlen(password) + 2;
temp = calloc(templen, 1);
snprintf(temp, templen-1, "%s:%s", user, password);
snprintf(temp, templen, "%s:%s", user, password);
temp[templen-1] = '\0';
temp64 = base64Dup(temp);
free(temp);