diff options
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/upload-pack.c b/upload-pack.c index f19444df7b..f9d6410605 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -60,8 +60,10 @@ static void reset_timeout(void) static ssize_t send_client_data(int fd, const char *data, ssize_t sz) { - if (use_sideband) - return send_sideband(1, fd, data, sz, use_sideband); + if (use_sideband) { + send_sideband(1, fd, data, sz, use_sideband); + return sz; + } if (fd == 3) /* emergency quit */ fd = 2; |