Fix thinko in bbsink_throttle_manifest_contents.
authorRobert Haas <rhaas@postgresql.org>
Mon, 15 Nov 2021 19:22:13 +0000 (14:22 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 15 Nov 2021 19:22:13 +0000 (14:22 -0500)
Report and diagnosis by Dmitry Dolgov.

Discussion: http://postgr.es/m/20211115162641.dmo6l32fklh64gnw@localhost

src/backend/replication/basebackup_throttle.c

index f163931f8a32b286dec12ab89365bed06a6fdb98..f5202bae87cdd7d63518d3a35eb444d459fb43eb 100644 (file)
@@ -122,7 +122,7 @@ bbsink_throttle_manifest_contents(bbsink *sink, size_t len)
 {
    throttle((bbsink_throttle *) sink, len);
 
-   bbsink_forward_manifest_contents(sink->bbs_next, len);
+   bbsink_forward_manifest_contents(sink, len);
 }
 
 /*