#| -*-Scheme-*-
-$Id: mod-lisp.scm,v 1.24 2005/02/06 04:40:58 cph Exp $
+$Id: mod-lisp.scm,v 1.25 2005/02/06 04:44:20 cph Exp $
Copyright 2003,2004 Massachusetts Institute of Technology
(lambda (k)
(bind-condition-handler (list condition-type:error)
(lambda (condition)
- (k (xml-rpc:condition->fault condition 1)))
+ (k (xml-rpc:condition->fault 1 condition)))
(lambda ()
(receive (name params) (xml-rpc:parse-request document)
(let ((handler (get-xmlrpc-method-handler pathname name)))
#| -*-Scheme-*-
-$Id: xmlrpc.scm,v 1.8 2005/02/06 04:41:13 cph Exp $
+$Id: xmlrpc.scm,v 1.9 2005/02/06 04:44:27 cph Exp $
Copyright 2003,2004,2005 Massachusetts Institute of Technology
(lambda (port)
(format-error-message message irritants port)))))
-(define (xml-rpc:condition->fault condition code)
+(define (xml-rpc:condition->fault code condition)
(xml-rpc:fault code (condition/report-string condition)))
(define (xml-rpc:parse-request document)