about summary refs log tree commit diff
path: root/src/tipideed/send_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tipideed/send_file.c')
-rw-r--r--src/tipideed/send_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/send_file.c b/src/tipideed/send_file.c
index bcbd1c7..6e55c7b 100644
--- a/src/tipideed/send_file.c
+++ b/src/tipideed/send_file.c
@@ -164,7 +164,7 @@ void send_file_range (int fd, uint64_t offset, uint64_t n, char const *fn)
   tain deadline ;
   struct iovec v[2] ;
   ssize_t r ;
-  if (!n) goto flushit ;  /* I know, I know, but do-while SUCKS */
+  if (!n) goto flushit ;
   if (offset && lseek(fd, offset, SEEK_SET) == -1)
     strerr_diefu2sys(111, "lseek on ", fn) ;
  fillit: