fix #302, remove the thread unsafe code, no static.
This commit is contained in:
parent
f69fa7273b
commit
02addf61f7
|
|
@ -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()
|
||||
{
|
||||
struct timeval tv;
|
||||
char buf[23];
|
||||
static char buf[23];
|
||||
|
||||
memset(buf, 0, sizeof(buf));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user