summaryrefslogtreecommitdiff
path: root/server/error_bucket.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/error_bucket.c')
-rw-r--r--server/error_bucket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/error_bucket.c b/server/error_bucket.c
index d113c171..9c118e61 100644
--- a/server/error_bucket.c
+++ b/server/error_bucket.c
@@ -45,7 +45,7 @@ AP_DECLARE(apr_bucket *) ap_bucket_error_make(apr_bucket *b, int error,
h = apr_bucket_alloc(sizeof(*h), b->list);
h->status = error;
- h->data = (buf) ? apr_pstrdup(p, buf) : NULL;
+ h->data = apr_pstrdup(p, buf);
b = apr_bucket_shared_make(b, h, 0, 0);
b->type = &ap_bucket_type_error;