# | Line 46 | Line 46 | |
---|---|---|
46 | // | |
47 | // Douglas Thrift | |
48 | // | |
49 | < | // $Id: Search.cpp,v 1.21 2003/07/18 03:52:39 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" | |
# | Line 109 | Line 109 | int main(int argc, char* argv[]) | |
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 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |