1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-11-03 04:17:20 -05:00

Fix: Ensure block_len is always set before used.

This commit is contained in:
Philipp Schafft 2018-06-20 06:42:49 +00:00
parent 9a4b8bb869
commit dd0cfacb61

View File

@ -442,7 +442,7 @@ void log_contents (int log_id, char **_contents, unsigned int *_len)
static void __vsnprintf(char *str, size_t size, const char *format, va_list ap) {
int in_block = 0;
int block_size = 0;
int block_len;
int block_len = 0;
int block_space = 0;
const char * arg;
char buf[80];