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

refine code, fix bug of hls, following jetbrains clion code-inspector. 0.9.215

This commit is contained in:
winlin 2014-09-26 16:34:13 +08:00
parent 4a323e64c4
commit 002facb85b
21 changed files with 73 additions and 84 deletions

View file

@ -93,7 +93,7 @@ public:
// state %c One character from the string "RSDZTW" where R is running, S is sleeping in an interruptible wait, D
// is waiting in uninterruptible disk sleep, Z is zombie, T is traced or stopped (on a signal), and W is
// paging.
char state;
unsigned char state;
// ppid %d The PID of the parent.
int ppid;
// pgrp %d The process group ID of the process.
@ -455,12 +455,12 @@ public:
// = MemFree + Buffers + Cached
u_int64_t NotInUse;
u_int64_t MemTotal;
u_int64_t MemFree;
u_int64_t Buffers;
u_int64_t Cached;
u_int64_t SwapTotal;
u_int64_t SwapFree;
unsigned long MemTotal;
unsigned long MemFree;
unsigned long Buffers;
unsigned long Cached;
unsigned long SwapTotal;
unsigned long SwapFree;
public:
SrsMemInfo();