summaryrefslogtreecommitdiff
path: root/test/testthread.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>1999-09-14 13:37:37 +0000
committerRyan Bloom <rbb@apache.org>1999-09-14 13:37:37 +0000
commit32101a0c1fbb26796b787bc9d6570c3df5d18348 (patch)
tree631f5e29a3dd1d4ac3dbd89cbf9ab60dfbff0a90 /test/testthread.c
parent76ce9e5584a7110f729b460e36ab25d9cfdf8fde (diff)
downloadapr-32101a0c1fbb26796b787bc9d6570c3df5d18348.tar.gz
A change to how APR uses user data. Now, user data is a linked list that
is retreivable using a char string. Basically, you provide a string that will be used as a key when you store the data. If the key was used before, we will overwrite the old data. When you want to retreive your data, pass in the same key, and we will find the data you care about. This also makes it harder to put user data in when creating a context, so that option has disappeared. It is also impossible to inherit user data from parent contexts. This option may be added in later. I will be documenting this VERY soon. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testthread.c')
-rw-r--r--test/testthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testthread.c b/test/testthread.c
index ae7a93904..37bd2224f 100644
--- a/test/testthread.c
+++ b/test/testthread.c
@@ -129,7 +129,7 @@ int main()
ap_status_t s4;
fprintf(stdout, "Initializing the context.......");
- if (ap_create_context(NULL, NULL, &context) != APR_SUCCESS) {
+ if (ap_create_context(NULL, &context) != APR_SUCCESS) {
fprintf(stderr, "could not initialize\n");
exit(-1);
}