46 |
|
// |
47 |
|
// Douglas Thrift |
48 |
|
// |
49 |
< |
// $Id: Search.cpp,v 1.20 2003/07/17 04:59:49 douglas Exp $ |
49 |
> |
// $Id: Search.cpp,v 1.22 2003/07/20 04:00:25 douglas Exp $ |
50 |
|
|
51 |
|
#include "Search.h" |
52 |
|
#include "Indexer.h" |
109 |
|
{ |
110 |
|
if (++index < argc) |
111 |
|
{ |
112 |
< |
page = strtoul(argv[index],0,0); |
112 |
> |
istringstream number(argv[index]); |
113 |
> |
|
114 |
> |
number >> page; |
115 |
|
} |
116 |
|
else |
117 |
|
{ |
441 |
|
<< " This product includes software developed by Douglas Thrift\n" |
442 |
|
<< " (http://computers.douglasthrift.net/searchengine/).\n"; |
443 |
|
#ifdef _OpenSSL_ |
444 |
< |
cout << "\n" << openssl() << "\n"; |
444 |
> |
cout << "\n" << openssl() << " " << SSLeay_version(SSLEAY_BUILT_ON) << " " |
445 |
> |
<< SSLeay_version(SSLEAY_PLATFORM) << "\n"; |
446 |
|
#endif |
447 |
|
} |
448 |
|
|