remove a left-over break v239-45.3
authorDavid Tardon <dtardon@redhat.com>
Fri, 25 Jun 2021 08:42:53 +0000 (10:42 +0200)
committerJan Macku <jamacku@redhat.com>
Wed, 28 Jul 2021 11:00:36 +0000 (13:00 +0200)
By the "same logic as above...", we want to continue to fallback here,
but the break prohibits that.

This is a follow-up for ee1aa61c4710ae567a2b844e0f0bb8cb0456ab8c .

Based on: 99df1cb6f50875db513a5b45f18191460a150f3d)

Related: #1984406

(cherry picked from commit 5944138a54017fc8f1f4c878a1eea96ea18736c4)

src/basic/copy.c

index a48c42c5c63b7d0114e6b111fbbfe4b5a11c4075..1a0db29ac917b5bb3d6914df2e8d36a26e9df365 100644 (file)
@@ -218,7 +218,6 @@ int copy_bytes_full(
                                         break;
 
                                 try_sendfile = try_splice = false; /* same logic as above for copy_file_range() */
-                                break;
                         } else
                                 /* Success! */
                                 goto next;