summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2009-12-02 19:47:33 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2009-12-02 19:47:33 +0100
commit49c20b038ec1563092ec6ab7b88d42919307339a (patch)
treed73ea2f5a171b8c70d2e39e3a7f4c2d09064610f /src
parentfb37df9bbd517f17c4006fd3d2a895a813ab6024 (diff)
send-mail: Communicate success to the client as appropriate.
Diffstat (limited to 'src')
-rw-r--r--src/logikorr/servlet.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logikorr/servlet.clj b/src/logikorr/servlet.clj
index ae83845..3178cec 100644
--- a/src/logikorr/servlet.clj
+++ b/src/logikorr/servlet.clj
@@ -228,7 +228,8 @@ Logikorr")))
;; ()))
(.setFileName "logik.txt")
(.setDisposition "attachment"))))))
- (Transport/send message)))
+ (Transport/send message)
+ "\"OK\""))
(defmacro with-authentication [& body]
`(call-with-authentication (fn [] ~@body)))