summaryrefslogtreecommitdiff
path: root/audio/icecast/files/patch-src::avl_functions.c
blob: be7f00fd6051b411db0ba2fd6311ab0df64b8408 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/avl_functions.c
+++ src/avl_functions.c
@@ -307,7 +307,7 @@
 	}
 
 	snprintf(s1, BUFSIZE, "%s:%d", dir1->host, dir1->port);
-	snprintf(s2, "%s:%d", dir2->host, dir2->port);
+	snprintf(s2, BUFSIZE, "%s:%d", dir2->host, dir2->port);
 
 	return compare_strings (s1, s2, param);
 }