blob: 839aa4bb64dae6d03a3b4fa7aaf57954648868ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- sapserver.cpp.orig Tue Jul 27 18:13:01 2004
+++ sapserver.cpp Tue Jul 27 18:14:06 2004
@@ -174,9 +174,13 @@
if(config->GetDotMode())
fprintf(stdout,".");
/* Wait for next sending */
+#ifdef __NetBSD__
+ sleep(1 + (config->GetDelay()/config->Programs.size()));
+#else
usleep(config->GetDelay()*1000000/config->Programs.size());
+#endif
}
fflush(stdout);
}
}
|