skeeto / elisp-json-rpc

JSON-RPC library for Emacs Lisp
The Unlicense
40 stars 9 forks source link

Check whether move-to-content succeeded #4

Closed fbergroth closed 10 years ago

fbergroth commented 10 years ago

If the body separator is not yet present, (point) will equal (point-min) and the length check is invalid for small values of Content-Length. Pretty tricky bug! :)

skeeto commented 10 years ago

Thanks!