From 879256dbd54fc21e3cf5ba09efe1fe3f37cd3308 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Sat, 12 Oct 2013 11:01:17 -0500 Subject: [PATCH] Lazily load sendmail. --- new-racket-web/web/download/mirror-link.rkt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/new-racket-web/web/download/mirror-link.rkt b/new-racket-web/web/download/mirror-link.rkt index 82b965dd8f..10b2c252c1 100644 --- a/new-racket-web/web/download/mirror-link.rkt +++ b/new-racket-web/web/download/mirror-link.rkt @@ -32,7 +32,9 @@ Polling a URL can result in one of four options: |# -(require net/url net/ftp net/sendmail) +(require net/url net/ftp racket/lazy-require) + +(lazy-require [net/sendmail (send-mail-message)]) ;; the mirrors file has (list url secs result) entries containing the url as a ;; string, the time it was checked (the result of `current-seconds'), and the