summaryrefslogtreecommitdiff
path: root/include/asterisk/threadstorage.h
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-08-22 19:45:41 +0000
committerMark Michelson <mmichelson@digium.com>2008-08-22 19:45:41 +0000
commitc0754e89add548b748fb6914c9cdc0fe20fbd783 (patch)
tree397ef366d7e6bad9597357dae7b5aa79d465b443 /include/asterisk/threadstorage.h
parent93fa8f76496f4b7b2607d1bd7c6ca56b8c5ea775 (diff)
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
Diffstat (limited to 'include/asterisk/threadstorage.h')
-rw-r--r--include/asterisk/threadstorage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/threadstorage.h b/include/asterisk/threadstorage.h
index 09b6b7878..633c7e7c3 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;