summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-05-24 22:59:16 +0000
committerWayne Davison <wayned@samba.org>2004-05-24 22:59:16 +0000
commitedad5898f2c221ee869b14d5e16c4a8cf8c4e4bb (patch)
tree0daa6a237180fd3a880b6c09ddce8725fa55fd42
parentfa0c1939ed2d8563e3e8bb4ff0a8513c64cd1812 (diff)
downloadrsync-edad5898f2c221ee869b14d5e16c4a8cf8c4e4bb.tar.gz
Got rid of a superfluous call to gettimeofday().
-rw-r--r--util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/util.c b/util.c
index 69433359..a01a38d1 100644
--- a/util.c
+++ b/util.c
@@ -1042,7 +1042,6 @@ int msleep(int t)
struct timeval tval, t1, t2;
gettimeofday(&t1, NULL);
- gettimeofday(&t2, NULL);
while (tdiff < t) {
tval.tv_sec = (t-tdiff)/1000;