Commit graph

5 commits

Author SHA1 Message Date
Yves Junqueira
f3b38a06e5 Small fix on bencode parse.go 2010-07-25 20:32:08 +01:00
Yves Junqueira
56e375d053 Fixing other potential problems related to redeclaring err within a inner block. Also changing harmless look-alike cases for style consistency 2010-07-25 15:30:32 +01:00
Jack Palevich
2532a37945 Handle zero-length strings in bencode data.
Improve error reporting slightly.
2010-04-22 20:32:37 +08:00
Jack Palevich
bd0555a835 Fix bugs in error reporting when parsing bad bencode data.
Discovered when trying to parse a truncated torrent file.
2010-01-23 15:48:21 +08:00
Jack Palevich
0804ed1920 Initial commit 2010-01-06 23:38:33 +08:00