View | Details | Raw Unified | Return to bug 1217
Collapse All | Expand All

(-)scp.c (-2 / +2 lines)
Lines 766-773 bwlimit(int amount) Link Here
766
				thresh = 2048;
766
				thresh = 2048;
767
		} else if (bwend.tv_usec < 100) {
767
		} else if (bwend.tv_usec < 100) {
768
			thresh *= 2;
768
			thresh *= 2;
769
			if (thresh > 32768)
769
			if (thresh > (1 << 24))
770
				thresh = 32768;
770
				thresh = (1 << 24);
771
		}
771
		}
772
772
773
		TIMEVAL_TO_TIMESPEC(&bwend, &ts);
773
		TIMEVAL_TO_TIMESPEC(&bwend, &ts);

Return to bug 1217