|
Lines 1-5
Link Here
|
| 1 |
--- netmap/lookup.c.orig Sun Feb 10 02:57:26 2002 |
1 |
--- netmap/lookup.c.orig Sun Dec 15 14:54:26 2002 |
| 2 |
+++ netmap/lookup.c Sun Feb 10 02:59:22 2002 |
2 |
+++ netmap/lookup.c Sun Dec 15 14:54:26 2002 |
| 3 |
@@ -1,6 +1,8 @@ |
3 |
@@ -1,6 +1,8 @@ |
| 4 |
#include <strstream> |
4 |
#include <strstream> |
| 5 |
#include <iostream> |
5 |
#include <iostream> |
|
Lines 9-11
Link Here
|
| 9 |
#include <netdb.h> //hostent def |
9 |
#include <netdb.h> //hostent def |
| 10 |
|
10 |
|
| 11 |
//from belgolib |
11 |
//from belgolib |
|
|
12 |
@@ -83,7 +85,7 @@ |
| 13 |
if(verbose_lvl) |
| 14 |
cout << indent(2) << "Reading " << fname << endl; |
| 15 |
|
| 16 |
- Infile cfile(fname, ios::bin | ios::in); |
| 17 |
+ Infile cfile(fname, ios::binary | ios::in); |
| 18 |
|
| 19 |
while(cfile && !cfile.eof()) { |
| 20 |
HostRec hr; |
| 21 |
@@ -229,7 +231,7 @@ |
| 22 |
|
| 23 |
void LookUp::read_failedip(const string& fname) |
| 24 |
{ |
| 25 |
- Infile cfile(fname, ios::bin | ios::in); |
| 26 |
+ Infile cfile(fname, ios::binary | ios::in); |
| 27 |
|
| 28 |
while(cfile && !cfile.eof()) { |
| 29 |
string ip; |