diff options
author | Max Kellermann <max@duempel.org> | 2014-10-09 07:59:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-09 07:59:53 +0200 |
commit | bfcc466647bbf9566e1352c6b6257dd59a66a145 (patch) | |
tree | 1ea9a0870c70fa729039b090fff407ed7f76a7c8 /src/lib/nfs | |
parent | 3d2558bde6cebd6b628935f2852572cc7bb6eeab (diff) | |
download | mpd-bfcc466647bbf9566e1352c6b6257dd59a66a145.tar.gz mpd-bfcc466647bbf9566e1352c6b6257dd59a66a145.tar.xz mpd-bfcc466647bbf9566e1352c6b6257dd59a66a145.zip |
lib/nfs/Glue: add assertion
Diffstat (limited to '')
-rw-r--r-- | src/lib/nfs/Glue.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/nfs/Glue.cxx b/src/lib/nfs/Glue.cxx index 287799b2f..6e1e0f99b 100644 --- a/src/lib/nfs/Glue.cxx +++ b/src/lib/nfs/Glue.cxx @@ -52,6 +52,7 @@ nfs_finish() NfsConnection & nfs_get_connection(const char *server, const char *export_name) { + assert(in_use > 0); assert(io_thread_inside()); return nfs_glue->GetConnection(server, export_name); |