mirror of https://github.com/aria2/aria2
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use operator T* of array_ptr. * src/OptionParser.ccpull/1/head
parent
2e9edd316a
commit
a73ef15904
|
@ -1,3 +1,8 @@
|
|||
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use operator T* of array_ptr.
|
||||
* src/OptionParser.cc
|
||||
|
||||
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use localhost instead of 127.0.0.1
|
||||
|
|
|
@ -130,7 +130,7 @@ void OptionParser::parseArg
|
|||
std::string optstring = createOptstring(_optionHandlers.begin(),
|
||||
_optionHandlers.end());
|
||||
while(1) {
|
||||
int c = getopt_long(argc, argv, optstring.c_str(), &longOpts[0], 0);
|
||||
int c = getopt_long(argc, argv, optstring.c_str(), longOpts, 0);
|
||||
if(c == -1) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue