mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add comments for file stream
This commit is contained in:
parent
a63fa20e53
commit
996d042a33
4 changed files with 12 additions and 0 deletions
|
@ -104,6 +104,7 @@ int SrsFileBuffer::fullfill(const char* filename)
|
|||
int nread = 0;
|
||||
int filesize = 0;
|
||||
|
||||
// TODO: FIXME: refine the file stream.
|
||||
if ((fd = ::open(filename, O_RDONLY, 0)) < 0) {
|
||||
ret = ERROR_SYSTEM_CONFIG_INVALID;
|
||||
srs_error("open conf file error. ret=%d", ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue