[svn-commits] mmichelson: branch 1.4 r139553 - /branches/1.4/include/asterisk/threadstorage.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 22 14:45:20 CDT 2008


Author: mmichelson
Date: Fri Aug 22 14:45:19 2008
New Revision: 139553

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139553
Log:
Fix compilation when DEBUG_THREAD_LOCALS is selected

(closes issue #13298)
Reported by: snuffy
Patches:
      bug13298_20080822.diff uploaded by snuffy (license 35)


Modified:
    branches/1.4/include/asterisk/threadstorage.h

Modified: branches/1.4/include/asterisk/threadstorage.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/threadstorage.h?view=diff&rev=139553&r1=139552&r2=139553
==============================================================================
--- branches/1.4/include/asterisk/threadstorage.h (original)
+++ branches/1.4/include/asterisk/threadstorage.h Fri Aug 22 14:45:19 2008
@@ -159,7 +159,7 @@
 		if (!(buf = ast_calloc(1, init_size)))
 			return NULL;
 		pthread_setspecific(ts->key, buf);
-		__ast_threadstorage_object_add(ts->key, init_size, file, function, line);
+		__ast_threadstorage_object_add(&ts->key, init_size, file, function, line);
 	}
 
 	return buf;




More information about the svn-commits mailing list