summaryrefslogtreecommitdiff
path: root/ratatox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-16 13:33:44 +0100
committersin <sin@2f30.org>2014-09-16 13:33:44 +0100
commit15e5fb0021d87d4672ede019c85403fbf7d1face (patch)
tree514aa714a302d081718c2d2403ef50da32b45992 /ratatox.c
parent0ae5c26281b6b7e321074f90e73bb518f876f192 (diff)
Correctly terminate transfers
Diffstat (limited to 'ratatox.c')
-rw-r--r--ratatox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ratatox.c b/ratatox.c
index a4ba9ff..3ac1b5d 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -402,7 +402,6 @@ send_friend_file(struct friend *f)
break;
}
f->t.pending = 0;
- break;
}
/* grab another buffer from the FIFO */
n = read(f->fd[FILE_IN_FIFO], f->t.buf, f->t.chunksz);