diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/nfs/Connection.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx index 04c5a9e53..56abf7129 100644 --- a/src/lib/nfs/Connection.cxx +++ b/src/lib/nfs/Connection.cxx @@ -501,6 +501,8 @@ NfsConnection::OnSocketReady(unsigned flags) closed = true; } + assert(context == nullptr || nfs_get_fd(context) >= 0); + #ifndef NDEBUG assert(in_event); in_event = false; |