* Handshake was setting wrong bitfield size.

* Cleanup of Block classes.

* Added brackets to error message from the OpenSSL test.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@713 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-06-06 21:16:55 +00:00
parent d0f6719e50
commit beeea9fd3e
6 changed files with 59 additions and 49 deletions
-3
View File
@@ -77,9 +77,6 @@ OptionParser::process(int argc, char** argv) {
int c;
std::string optString = create_optstring();
optind = 0;
opterr = 0;
while ((c = getopt(argc, argv, optString.c_str())) != -1)
if (c == '?')
throw std::runtime_error("Invalid/unknown option flag \"-" + std::string(1, (char)optopt) + "\". See rtorrent -h for more information.");