From: Wayne Davison Date: Mon, 24 May 2004 22:59:16 +0000 (+0000) Subject: Got rid of a superfluous call to gettimeofday(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/edad5898f2c221ee869b14d5e16c4a8cf8c4e4bb Got rid of a superfluous call to gettimeofday(). --- 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;