From c9c22bc30fb583191ec63c02bc13a7ea78d2aeda Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 22 Aug 2008 19:46:16 +0000 Subject: [PATCH] Merged revisions 139554 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r139554 | mmichelson | 2008-08-22 14:45:41 -0500 (Fri, 22 Aug 2008) | 16 lines Merged revisions 139553 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r139553 | mmichelson | 2008-08-22 14:45:19 -0500 (Fri, 22 Aug 2008) | 8 lines Fix compilation when DEBUG_THREAD_LOCALS is selected (closes issue #13298) Reported by: snuffy Patches: bug13298_20080822.diff uploaded by snuffy (license 35) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@139555 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/threadstorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/threadstorage.h b/include/asterisk/threadstorage.h index de4f05b432..ac44d99f29 100644 --- a/include/asterisk/threadstorage.h +++ b/include/asterisk/threadstorage.h @@ -199,7 +199,7 @@ void *__ast_threadstorage_get(struct ast_threadstorage *ts, size_t init_size, co 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;