Skip to content

Commit

Permalink
Fix incorrect missed invocation of read-offset
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefnoah committed Jul 22, 2024
1 parent 71df200 commit d2f6e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.janet
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

(defn read-message []
(let [input (file/read stdin :line)
content-length (+ (parse-content-length input) (read-offset))
content-length (+ (parse-content-length input) read-offset)
input (file/read stdin content-length)]
(json/decode input)))

Expand Down

0 comments on commit d2f6e83

Please sign in to comment.