aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/threadstorage.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-06 03:04:01 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-06 03:04:01 +0000
commitae6749415a9433662f17d8baa6f542d3dd8a08c0 (patch)
tree44cde33f92c154ca5d6b8487b10c5a80a3100bae /include/asterisk/threadstorage.h
parent18d060ec8dd5ab774e231ad3b19dda26c6b7ae91 (diff)
Merged revisions 135899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r135899 | tilghman | 2008-08-05 22:02:59 -0500 (Tue, 05 Aug 2008) | 4 lines 1) Bugfix for debugging code 2) Reduce compiler warnings for another section of debugging code (Closes issue #13237) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135900 f38db490-d61c-443f-a65b-d21fe96a405b
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 77f9428b7..09b6b7878 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(buf, init_size, file, function, line);
+ __ast_threadstorage_object_add(ts->key, init_size, file, function, line);
}
return buf;