mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
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/trunk@139554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user