summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2014-12-16 18:34:19 +0100
committerrekado <rekado@elephly.net>2014-12-16 18:34:19 +0100
commitcb06d3d7fe9837e4e2708ba4e84fe9dd3f96660d (patch)
tree8d70de09b1aaae9f1b5bb68375c8401f8781a1f9
parentf15a9ee63a18cea4723db1458e5558d8b9992d42 (diff)
return arguments to 'halt directly
-rw-r--r--xmpp.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmpp.scm b/xmpp.scm
index b458b54..bade3c1 100644
--- a/xmpp.scm
+++ b/xmpp.scm
@@ -60,9 +60,7 @@ Then try all other handlers."
(lambda ()
(when id-handler (id-handler stanza))
(try-stanza-handlers stanza))
- (lambda (key . args)
- ;; return whatever argument was passed to 'halt
- (car args)))))
+ (lambda (key . args) args))))
(define* (run-handler-loop port #:optional (log-port #t))
"Repeatedly check for incoming stanzas. When a stanza handler