diff options
author | Max Kellermann <max@musicpd.org> | 2017-09-13 17:43:13 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-09-13 17:43:13 +0200 |
commit | 13d02968bdb94ee7cca97746e55e626d7ac23931 (patch) | |
tree | 46283fbfebef3ffffb3db67b042a26c944db869f /src/system | |
parent | e576556149497e47718a1d9e29f5742ed30549ec (diff) |
system/FileDescriptor: Close() should not be called on undefined object
It does not do much harm - but it causes an unnecessary (failing)
system call.
Diffstat (limited to 'src/system')
-rw-r--r-- | src/system/FileDescriptor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx index 3b6b0e59a..8e0f9177b 100644 --- a/src/system/FileDescriptor.hxx +++ b/src/system/FileDescriptor.hxx @@ -170,7 +170,7 @@ public: #endif /** - * Close the file descriptor. It is legal to call it on an + * Close the file descriptor. It should not be called on an * "undefined" object. After this call, IsDefined() is guaranteed * to return false, and this object may be reused. */ |