From: Ralph Ronnquist Date: Tue, 18 Apr 2023 08:00:41 +0000 (+1000) Subject: Moved char2hex to misc.lsp. X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=75e62613b1db312d16206acccfcfd6d03020f010;p=rrq%2Flsp-utils.git Moved char2hex to misc.lsp. --- diff --git a/lsp-dbus/lsp-dbus-connection.lsp b/lsp-dbus/lsp-dbus-connection.lsp index f09381b..73e9672 100644 --- a/lsp-dbus/lsp-dbus-connection.lsp +++ b/lsp-dbus/lsp-dbus-connection.lsp @@ -58,9 +58,6 @@ (setf RESULT (read-message)) (if PAT (regex PAT RESULT 0) RESULT))) -(define (char2hex STR) - (join (map (curry format "%2x") (map char (explode STR))))) - (constant 'AUTHFMT "AUTH EXTERNAL %s\r\n" 'AUTHACK "OK (\\S+)\r\n" @@ -82,5 +79,4 @@ (define (cancel) (handshake "CANCEL\r\n" "(.*)")) -"DbusConnection" - +"lsp-dbus-connection.lsp"