Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
fixup! bcl: add InterfaceStateManager and its dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomaz committed Aug 14, 2020
1 parent fd7b0a1 commit ddf7862
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ class FileDescriptorImpl : public FileDescriptor {
}

int rc = ::close(m_fd);
m_fd = FileDescriptor::invalid_descriptor;
if (0 != rc) {
LOG(ERROR) << "Unable to close descriptor: " << strerror(errno);
}

m_fd = FileDescriptor::invalid_descriptor;

return (0 == rc);
}
Expand Down

0 comments on commit ddf7862

Please sign in to comment.