Fix use of wrong variable in pg_receivewal's get_destination_dir().

The global variable wrongly used is always the one passed to
get_destination_dir(), so there currently are no negative consequences.

Author: Bharath Rupireddy <bharath.rupireddyforpostg...@gmail.com>
Discussion: 
https://postgr.es/m/calj2acut0c2lqwhylxtqdj8t9sxza5j7cmu-uoz0cz8_d5e...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1155d8b8d52ed8705fd8386eaa64fb05c04170c6

Modified Files
--------------
src/bin/pg_basebackup/pg_receivewal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reply via email to