Got rid of a superfluous call to gettimeofday().
authorWayne Davison <wayned@samba.org>
Mon, 24 May 2004 22:59:16 +0000 (22:59 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 24 May 2004 22:59:16 +0000 (22:59 +0000)
util.c

diff --git a/util.c b/util.c
index 6943335..a01a38d 100644 (file)
--- 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;