diff options
Diffstat (limited to '')
-rw-r--r-- | src/libmdsclient/comm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsclient/comm.h b/src/libmdsclient/comm.h index 8f3f0d9..4a47b2a 100644 --- a/src/libmdsclient/comm.h +++ b/src/libmdsclient/comm.h @@ -150,7 +150,7 @@ int libmds_connection_send_unlocked(libmds_connection_t* restrict this, const ch * will have been set accordingly on error * @throws See pthread_mutex_unlock(3) */ -#define libmds_connection_unlock(this) +#define libmds_connection_unlock(this) \ (errno = pthread_mutex_unlock(&((this)->mutex)), (errno ? 0 : -1)) |