diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:02:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:02:16 +0200 |
commit | bc190c5ac25155e0c4a53f8ea74e16082de6229d (patch) | |
tree | 4d1e1f509e3b9f506dcdea8191a18ce2e1835d4e /src/libmdsserver | |
parent | m + release all resources before re-execing (diff) | |
download | mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.gz mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.bz2 mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.xz |
a much of multicasting stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver')
-rw-r--r-- | src/libmdsserver/macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h index 32024a3..d70afc9 100644 --- a/src/libmdsserver/macros.h +++ b/src/libmdsserver/macros.h @@ -73,9 +73,9 @@ * @param instructions The instructions to run while the mutex is locked */ #define with_mutex(mutex, instructions) \ - pthread_mutex_lock(&(mutex)); \ + errno = pthread_mutex_lock(&(mutex)); \ instructions \ - pthread_mutex_unlock(&(mutex)) + errno = pthread_mutex_unlock(&(mutex)) /** |