1
0
Fork 0
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:
winlin 2014-04-17 12:59:35 +08:00
parent a63fa20e53
commit 996d042a33
4 changed files with 12 additions and 0 deletions

View file

@ -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);