From 60ccbc4fe682153fc8ff934a90c263b7cb876c1f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 26 Jul 2024 12:48:47 -0400 Subject: [PATCH] improve comment --- P2P/Protocol.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/P2P/Protocol.hs b/P2P/Protocol.hs index 89fe9aad93..eccca1fef7 100644 --- a/P2P/Protocol.hs +++ b/P2P/Protocol.hs @@ -261,9 +261,9 @@ data NetF c -- ^ Sends exactly Len bytes of data. (Any more or less will -- confuse the receiver.) | ReceiveBytes Len MeterUpdate (L.ByteString -> c) - -- ^ Lazily reads bytes from peer. Stops once Len are read, - -- or if connection is lost, and in either case returns the bytes - -- that were read. This allows resuming interrupted transfers. + -- ^ Streams bytes from peer. Stops once Len are read, + -- or if connection is lost. This allows resuming + -- interrupted transfers. | CheckAuthToken UUID AuthToken (Bool -> c) | RelayService Service c -- ^ Runs a service, relays its output to the peer, and data -- 2.39.5