Skip to content

Commit

Permalink
FIX new_monitor_value_fstream error case
Browse files Browse the repository at this point in the history
  • Loading branch information
eugpermar committed Jan 9, 2018
1 parent 65e6c11 commit ec4b2bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rb_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ monitor_value *new_monitor_value_fstream(FILE *stream) {
rdlog(LOG_ERR,
"Cannot get buffer information: %s",
gnu_strerror_r(errno));
return NULL;
}

return new_monitor_value_strn(sread.buf, (size_t)bytes_read);
Expand Down

0 comments on commit ec4b2bd

Please sign in to comment.