diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/unix/access.c | 4 | ||||
-rw-r--r-- | time/win32/access.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/time/unix/access.c b/time/unix/access.c index 6a627ce0a..f2befee75 100644 --- a/time/unix/access.c +++ b/time/unix/access.c @@ -343,7 +343,7 @@ ap_status_t ap_set_wday(struct atime_t *atime, ap_int32_t value) ap_status_t ap_get_timedata(struct atime_t *atime, char *key, void *data) { if (atime != NULL) { - return ap_get_userdata(&data, atime->cntxt, key); + return ap_get_userdata(&data, key, atime->cntxt); } else { data = NULL; @@ -362,7 +362,7 @@ ap_status_t ap_set_timedata(struct atime_t *atime, void *data, char *key, ap_status_t (*cleanup) (void *)) { if (atime != NULL) { - return ap_set_userdata(atime->cntxt, data, key, cleanup); + return ap_set_userdata(data, key, cleanup, atime->cntxt); } else { data = NULL; diff --git a/time/win32/access.c b/time/win32/access.c index d36ada6a7..1f24594ce 100644 --- a/time/win32/access.c +++ b/time/win32/access.c @@ -245,7 +245,7 @@ ap_status_t ap_set_wday(struct atime_t *time, ap_int32_t value) ap_status_t ap_get_timedata(struct atime_t *atime, char *key, void *data) { if (atime != NULL) { - return ap_get_userdata(&data, atime->cntxt, key); + return ap_get_userdata(&data, key, atime->cntxt); } else { data = NULL; @@ -257,7 +257,7 @@ ap_status_t ap_set_timedata(struct atime_t *atime, void *data, char *key, ap_status_t (*cleanup) (void *)) { if (atime != NULL) { - return ap_set_userdata(atime->cntxt, data, key, cleanup); + return ap_set_userdata(data, key, cleanup, atime->cntxt); } else { data = NULL; |