X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=logger.lisp;h=b242f5a9f806480cc3e06a1e3f67aa8083ea3c31;hb=4082dbd4d3c80282c43b2c41b7e5dae41ba56e94;hp=065effa485c76bd7be8931ae2f7fa2b2bb336d36;hpb=097d28989cb7d3e3c824212e1ddeeb8d6a2a3f39;p=irc-logger.git diff --git a/logger.lisp b/logger.lisp index 065effa..b242f5a 100644 --- a/logger.lisp +++ b/logger.lisp @@ -399,7 +399,7 @@ (let ((end (- (length (trailing-argument msg)) 1))) ;; end has been as low as 7 (when (< end 8) - (warn "End is less than 8: `$A'." msg)) + (warn "End is less than 8: `~A'." msg)) (output-event msg :action (first (arguments msg)) (subseq (trailing-argument msg) (min 8 end) (- (length (trailing-argument msg)) 1))))) @@ -645,7 +645,8 @@ (add-private-log-entry nil "Calling create-logger [add-logger].~%") (let ((logger (do ((new-logger - (mp:with-timeout (*timeout* nil) + (#-sbcl mp:with-timeout #-sbcl (*timeout* nil) + #+sbcl sb-ext:with-timeout #+sbcl *timeout* (create-logger nick server :channels channels :output output :logging-stream logging-stream :password password :realname realname :username username @@ -653,7 +654,8 @@ :unknown-log unknown-log :formats formats :async async)) - (mp:with-timeout (*timeout* nil) + (#-sbcl mp:with-timeout #-sbcl (*timeout* nil) + #+sbcl sb-ext:with-timeout #+sbcl *timeout* (create-logger nick server :channels channels :output output :logging-stream logging-stream :password password :realname realname :username username