mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 21:22:31 +00:00
* 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:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user