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

Merge branch '4.0release' into develop

This commit is contained in:
winlin 2022-04-07 13:48:59 +08:00
commit 16babd2b64

View file

@ -359,7 +359,8 @@ bool get_proc_self_stat(SrsProcSelfStat& r)
return false; return false;
} }
fscanf(f, "%d %32s %c %d %d %d %d " // Note that we must read less than the size of r.comm, such as %31s for r.comm is char[32].
fscanf(f, "%d %31s %c %d %d %d %d "
"%d %u %lu %lu %lu %lu " "%d %u %lu %lu %lu %lu "
"%lu %lu %ld %ld %ld %ld " "%lu %lu %ld %ld %ld %ld "
"%ld %ld %llu %lu %ld " "%ld %ld %llu %lu %ld "