summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 961b650..b156e1b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -589,9 +589,6 @@ int main(int argc, char *argv[])
if (ret < 0)
goto err_bailout;
- if (_cli.state != TIP_CLIENT_DONE)
- goto err;
-
fd = _cli.fd;
file_size = _cli.content_len;
@@ -631,7 +628,6 @@ int main(int argc, char *argv[])
data_len += _cli.data_len;
}
close(fd);
-err:
gettimeofday(&tv_stop, NULL);
timersub(&tv_stop, &tv_start, &tv);