]> granicus.if.org Git - apache/commitdiff
Whoops, NULL is a macro, hence not available here
authorCliff Woolley <jwoolley@apache.org>
Tue, 23 Apr 2002 22:15:56 +0000 (22:15 +0000)
committerCliff Woolley <jwoolley@apache.org>
Tue, 23 Apr 2002 22:15:56 +0000 (22:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94772 13f79535-47bb-0310-9956-ffa450edef68

.gdbinit

index 3a746e5e920549f0e7512d2721e6282f756e03a1..124255f41156da77a28e10066a196dbdd2135d6d 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -129,7 +129,7 @@ define dump_bucket_ex
         if $bucket->type == &apr_bucket_type_pool
             set $refcount = ((apr_bucket_refcount *)$bucket->data)->refcount
             set $p = (apr_bucket_pool *)$bucket->data
-            if $p->pool != NULL
+            if !$p->pool
                 set $p = (apr_bucket_heap *)$bucket->data
             end
             set $data = $p->base+$bucket->start