[comp.sys.ibm.pc.misc] UUPC/extended 1.09c delay bug

ache@hq.demos.su (Andrew A. Chernov) (11/20/90)

I find yet another bug in ddelay function in ssleep.c file:

	milliseconds -= 1000 * (int) (t.time - seconds)
			+ last - t.millitm;
			^^^^^^^^^^^^^^^^^^^
But (I think) must be:
			+ t.millitm - last;
			^^^^^^^^^^^^^^^^^^^
Result: all delays above one second don't work properly.
-- 
In-Real-Life: Andrew A. Chernov   |  Domain: ache@hq.demos.su,
Zodiac-Sign:  Virgo               |          ache%hq.demos.su@relay.eu.net
Organization: DEMOS Cooperative,  |  Phone:  +7 095 2312129
	      Moscow, USSR        |  Fax:    +7 095 2335016