From 06220a71c1430c97bfcd8012b00530a987e40e97 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sat, 23 Mar 2024 00:47:16 +0100 Subject: libstore: convert dumpPath to a generator Change-Id: Ic4cf5562504aa29130304469936f958c0426e5ef --- src/libstore/remote-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/remote-store.cc') diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index 55a71f502..d955f8449 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -422,7 +422,7 @@ ref RemoteStore::addCAToStore( dump.drainInto(conn->to); } else { std::string contents = dump.drain(); - dumpString(contents, conn->to); + conn->to << dumpString(contents); } } conn.processStderr(); -- cgit v1.2.3