Diffstat (limited to 'library/networkinterface.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | library/networkinterface.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/networkinterface.cpp b/library/networkinterface.cpp index 56a0e5b..2b5c77e 100644 --- a/library/networkinterface.cpp +++ b/library/networkinterface.cpp | |||
@@ -1,8 +1,8 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
@@ -44,9 +44,11 @@ bool NetworkInterface::isActive( Config& cfg ) const | |||
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 | ||
48 | Network::writeProxySettings( cfg ); | 49 | Network::writeProxySettings( cfg ); |
50 | #endif | ||
49 | return TRUE; | 51 | return TRUE; |
50 | } | 52 | } |
51 | } | 53 | } |
52 | } | 54 | } |