diff options
author | Joe Orton <jorton@apache.org> | 2023-01-09 10:09:46 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2023-01-09 10:09:46 +0000 |
commit | 5e492d9758d0f2345f623cd5a5d9a3a48c131c40 (patch) | |
tree | d46ea26c28a8e6c2c73b7d0dcd31c5671922fc68 /.gdbinit | |
parent | 6fd241a51b29ef090e6ca602948e17ca9afffa6e (diff) | |
download | httpd-5e492d9758d0f2345f623cd5a5d9a3a48c131c40.tar.gz |
* .gdbinit (dump_bucket_ex): Use a string comparison with the bucket
type name rather than a type pointer comparison, so this .gdbinit is
usable outside httpd.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ define dump_bucket_ex print_bkt_datacol "rc" "n/%c" 'a' $sh else - if ($bucket->type == &ap_bucket_type_error) + if ($_streq($bucket->type->name, "ERROR")) # metadata bucket, no content but it does have an error code in it print_bkt_datacol "contents" "%c" ' ' $sh |