Skip to content

Commit 5e492d9

Browse files
committed
* .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
1 parent 6fd241a commit 5e492d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gdbinit

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ define dump_bucket_ex
142142
print_bkt_datacol "rc" "n/%c" 'a' $sh
143143

144144
else
145-
if ($bucket->type == &ap_bucket_type_error)
145+
if ($_streq($bucket->type->name, "ERROR"))
146146

147147
# metadata bucket, no content but it does have an error code in it
148148
print_bkt_datacol "contents" "%c" ' ' $sh

0 commit comments

Comments
 (0)