mirror of
https://github.com/apache/httpd.git
synced 2025-04-18 22:24:07 +03:00
* .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
This commit is contained in:
parent
6fd241a51b
commit
5e492d9758
2
.gdbinit
2
.gdbinit
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user