1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix #302, remove the thread unsafe code, no static.

This commit is contained in:
winlin 2015-03-23 21:21:36 +08:00
parent f69fa7273b
commit 02addf61f7

View file

@ -2340,7 +2340,7 @@ int srs_human_print_rtmp_packet(char type, u_int32_t timestamp, char* data, int
const char* srs_human_format_time() const char* srs_human_format_time()
{ {
struct timeval tv; struct timeval tv;
char buf[23]; static char buf[23];
memset(buf, 0, sizeof(buf)); memset(buf, 0, sizeof(buf));