You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rp...@apache.org on 2007/10/14 11:54:49 UTC
svn commit: r584522 - /apr/apr/trunk/atomic/unix/mutex.c
Author: rpluem
Date: Sun Oct 14 02:54:48 2007
New Revision: 584522
URL: http://svn.apache.org/viewvc?rev=584522&view=rev
Log:
* Dereference mem as it is a double pointer.
Modified:
apr/apr/trunk/atomic/unix/mutex.c
Modified: apr/apr/trunk/atomic/unix/mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/atomic/unix/mutex.c?rev=584522&r1=584521&r2=584522&view=diff
==============================================================================
--- apr/apr/trunk/atomic/unix/mutex.c (original)
+++ apr/apr/trunk/atomic/unix/mutex.c Sun Oct 14 02:54:48 2007
@@ -192,7 +192,7 @@
APR_DECLARE(void*) apr_atomic_xchgptr(volatile void **mem, void *with)
{
void *prev;
- DECLARE_MUTEX_LOCKED(mutex, mem);
+ DECLARE_MUTEX_LOCKED(mutex, *mem);
prev = *mem;
*mem = with;