diff options
author | Arun Isaac | 2018-09-12 17:52:08 +0530 |
---|---|---|
committer | Arun Isaac | 2018-09-12 17:55:19 +0530 |
commit | 2784c121d5a3c9d8e7831c883edac3b6857bc198 (patch) | |
tree | ca03f80a787a3502524257277321c2b647e78632 /email/base64.scm | |
parent | 959941b87c2e7ba732cae8ad1943432dfba83427 (diff) | |
download | guile-email-2784c121d5a3c9d8e7831c883edac3b6857bc198.tar.gz guile-email-2784c121d5a3c9d8e7831c883edac3b6857bc198.tar.lz guile-email-2784c121d5a3c9d8e7831c883edac3b6857bc198.zip |
Untabify and re-indent all sources.
* build-aux/test-driver.scm, email/base64.scm, email/email.scm,
email/quoted-printable.scm, email/utils.scm,
tests/quoted-printable.scm: Untabify and re-indent.
Diffstat (limited to 'email/base64.scm')
-rw-r--r-- | email/base64.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/email/base64.scm b/email/base64.scm index 6b11b3f..94b7388 100644 --- a/email/base64.scm +++ b/email/base64.scm @@ -142,9 +142,9 @@ (put p #\=))))))) (extract))))) - ;; Decodes a base64 string. The string must contain only pure - ;; unpadded base64 data. - +;; Decodes a base64 string. The string must contain only pure +;; unpadded base64 data. + (define base64-decode (case-lambda ((str) @@ -199,11 +199,11 @@ (eof-object) (f (get-line port)))) - ;; Reads the common -----BEGIN/END type----- delimited format from - ;; the given port. Returns two values: a string with the type and a - ;; bytevector containing the base64 decoded data. The second value - ;; is the eof object if there is an eof before the BEGIN delimiter. - +;; Reads the common -----BEGIN/END type----- delimited format from +;; the given port. Returns two values: a string with the type and a +;; bytevector containing the base64 decoded data. The second value +;; is the eof object if there is an eof before the BEGIN delimiter. + (define (get-delimited-base64 port) (define (get-first-data-line port) ;; Some MIME data has header fields in the same format as mail |