X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/39e69de6d78795c93d5363f5c70240137194eb5e..9f01e50d7efc5c625614e4e055790ca4a92a52a8:/src/src/expand.c diff --git a/src/src/expand.c b/src/src/expand.c index d2ccddc73..8be10c14f 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -5200,7 +5200,7 @@ while (*s != 0) #endif /* Allow sequencing of test actions */ - if (f.running_in_test_harness) millisleep(100); + testharness_pause_ms(100); /* Write the request string, if not empty or already done */ @@ -5228,7 +5228,7 @@ while (*s != 0) if (!do_tls && do_shutdown) shutdown(cctx.sock, SHUT_WR); #endif - if (f.running_in_test_harness) millisleep(100); + testharness_pause_ms(100); /* Now we need to read from the socket, under a timeout. The function that reads a file can be used. */