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:
parent
f69fa7273b
commit
02addf61f7
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue