1
0
mirror of https://git.kore.io/kore.git synced 2024-11-15 22:46:21 +01:00

remove useless cast.

This commit is contained in:
Joris Vink 2016-05-16 09:45:27 +02:00
parent 3c9d2d5948
commit 3b43df5536

View File

@ -78,7 +78,7 @@ kore_buf_appendv(struct kore_buf *buf, const char *fmt, va_list args)
b = sb;
}
kore_buf_append(buf, (u_int8_t *)b, l);
kore_buf_append(buf, b, l);
if (b != sb)
free(b);
}