align error codes

This commit is contained in:
Arvid Norberg 2011-11-13 03:35:03 +00:00
parent 3eb1b1839d
commit 344e6c8a3b
2 changed files with 7 additions and 1 deletions

View File

@ -211,6 +211,7 @@ namespace libtorrent
reserved147, reserved147,
reserved148, reserved148,
reserved149, reserved149,
// HTTP errors // HTTP errors
http_parse_error, // 150 http_parse_error, // 150
http_missing_location, http_missing_location,
@ -222,6 +223,7 @@ namespace libtorrent
reserved157, reserved157,
reserved158, reserved158,
reserved159, reserved159,
// i2p errors // i2p errors
no_i2p_router, // 160 no_i2p_router, // 160
reserved161, reserved161,

View File

@ -169,6 +169,7 @@ namespace libtorrent
"", "",
"", "",
"", "",
// natpmp errors // natpmp errors
"unsupported protocol version", "unsupported protocol version",
"not authorized to create port map (enable NAT-PMP on your router)", "not authorized to create port map (enable NAT-PMP on your router)",
@ -180,6 +181,7 @@ namespace libtorrent
"", "",
"", "",
"", "",
// fastresume errors // fastresume errors
"missing or invalid 'file sizes' entry", "missing or invalid 'file sizes' entry",
"no files in resume data", "no files in resume data",
@ -201,6 +203,7 @@ namespace libtorrent
"", "",
"", "",
"", "",
// HTTP errors // HTTP errors
"Invalid HTTP header", "Invalid HTTP header",
"missing Location header in HTTP redirect", "missing Location header in HTTP redirect",
@ -212,6 +215,7 @@ namespace libtorrent
"", "",
"", "",
"", "",
// i2p errors // i2p errors
"no i2p router is set up", "no i2p router is set up",
"", "",
@ -223,6 +227,7 @@ namespace libtorrent
"", "",
"", "",
"", "",
// tracker errors // tracker errors
"scrape not available on tracker", "scrape not available on tracker",
"invalid tracker response", "invalid tracker response",
@ -245,7 +250,6 @@ namespace libtorrent
"", "",
"", "",
// bdecode errors // bdecode errors
"expected string in bencoded string", "expected string in bencoded string",
"expected colon in bencoded string", "expected colon in bencoded string",