diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-22 19:45:19 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-22 19:45:19 +0000 |
commit | 621888dcb42be8f26d6a347d4004416f024dabd7 (patch) | |
tree | bf1ef6490fd1ce45320c9b557d647e02702ae52d | |
parent | e3084e0771f6a5b17db2edd7ab7a39c4fce4761d (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@139553 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/threadstorage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/threadstorage.h b/include/asterisk/threadstorage.h index 799a86332..59bd8cd72 100644 --- a/include/asterisk/threadstorage.h +++ b/include/asterisk/threadstorage.h @@ -159,7 +159,7 @@ void *__ast_threadstorage_get(struct ast_threadstorage *ts, size_t init_size, co 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; |