summaryrefslogtreecommitdiff
path: root/test/testproc.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-09-14 13:37:37 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-09-14 13:37:37 +0000
commit09add1be5178bca15fca7aca6c4e7dafb75bb4a9 (patch)
tree631f5e29a3dd1d4ac3dbd89cbf9ab60dfbff0a90 /test/testproc.c
parent78ef0ea48829bb72a4f38b447063bfdbfe19c31d (diff)
downloadlibapr-09add1be5178bca15fca7aca6c4e7dafb75bb4a9.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: http://svn.apache.org/repos/asf/apr/apr/trunk@59223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r--test/testproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testproc.c b/test/testproc.c
index 4a38c95ba..7d867f764 100644
--- a/test/testproc.c
+++ b/test/testproc.c
@@ -79,7 +79,7 @@ int main(int argc, char *argv[])
char *args[3];
char *teststr;
- ap_create_context(NULL, NULL, &context);
+ ap_create_context(NULL, &context);
teststr = ap_pstrdup(context, "Whooo Hoooo\0");