diff options
author | rekado <rekado@elephly.net> | 2014-12-16 18:34:19 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-12-16 18:34:19 +0100 |
commit | cb06d3d7fe9837e4e2708ba4e84fe9dd3f96660d (patch) | |
tree | 8d70de09b1aaae9f1b5bb68375c8401f8781a1f9 | |
parent | f15a9ee63a18cea4723db1458e5558d8b9992d42 (diff) |
return arguments to 'halt directly
-rw-r--r-- | xmpp.scm | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |