Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ataggart committed Oct 12, 2011
1 parent bbb9699 commit 5a2eece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/clojure/clojure/data/codec/base64.clj
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
(aset output (+ 3 j) (aget enc-bytes d)))
(recur (+ 3 i) (+ 4 j))))
; write padded section
(case (int tail-len)
(case tail-len
0 nil
1 (let [i in-end
j (- out-end 3)
Expand Down Expand Up @@ -238,7 +238,7 @@
(defn- read-fully
"Will fill the buffer to capacity, or with whatever is left in the input.
Returns the bytes read."
; This is necessary since a partil fill from .read does not necessarily mean EOS,
; This is necessary since a partial fill from .read does not necessarily mean EOS,
; and we need full buffers to avoid incorrect padding.
[^InputStream input ^bytes buf]
(loop [off 0 len (alength buf)]
Expand Down

0 comments on commit 5a2eece

Please sign in to comment.