author | zecke <zecke> | 2002-10-16 01:09:22 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-16 01:09:22 (UTC) |
commit | 543e54de7170c606b6883ac4152567e7faf13182 (patch) (unidiff) | |
tree | 8a7d623e96cab0135a2f7cb11aa9f7491bfda9a2 /library/networkinterface.cpp | |
parent | 3e973543b77631d053a9616b5540966dbe51ab47 (diff) | |
download | opie-543e54de7170c606b6883ac4152567e7faf13182.zip opie-543e54de7170c606b6883ac4152567e7faf13182.tar.gz opie-543e54de7170c606b6883ac4152567e7faf13182.tar.bz2 |
Remove #ifdef QWS HELL
a Platform which is not supporting IPC compatible
to QCopChannel/Envelope is not of much use nowadays..
so be sure your platform is supporting it
Diffstat (limited to 'library/networkinterface.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | library/networkinterface.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/networkinterface.cpp b/library/networkinterface.cpp index 2b5c77e..0ba773a 100644 --- a/library/networkinterface.cpp +++ b/library/networkinterface.cpp | |||
@@ -40,19 +40,17 @@ bool NetworkInterface::isActive( Config& cfg ) const | |||
40 | if ( f ) { | 40 | if ( f ) { |
41 | char line[1024]; | 41 | char line[1024]; |
42 | char devname[80]; | 42 | char devname[80]; |
43 | while ( fgets( line, 1024, f ) ) { | 43 | while ( fgets( line, 1024, f ) ) { |
44 | if ( sscanf(line," %[^:]:", devname)==1 ) | 44 | if ( sscanf(line," %[^:]:", devname)==1 ) |
45 | { | 45 | { |
46 | if ( devname == dev || devname == dev0 ) { | 46 | if ( devname == dev || devname == dev0 ) { |
47 | fclose(f); | 47 | fclose(f); |
48 | #ifdef QWS | ||
49 | Network::writeProxySettings( cfg ); | 48 | Network::writeProxySettings( cfg ); |
50 | #endif | ||
51 | return TRUE; | 49 | return TRUE; |
52 | } | 50 | } |
53 | } | 51 | } |
54 | } | 52 | } |
55 | fclose(f); | 53 | fclose(f); |
56 | } | 54 | } |
57 | return FALSE; | 55 | return FALSE; |
58 | } | 56 | } |