author | mickeyl <mickeyl> | 2004-04-27 19:16:52 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-27 19:16:52 (UTC) |
commit | 7e3f65c9733254bf9f67932cc4f3833fba9a4914 (patch) (unidiff) | |
tree | c3b609c862afbe8667f448a473a9641c8c0ab298 | |
parent | b645511e7fba8e3c27fda69b3939c0e5dbca1609 (diff) | |
download | opie-7e3f65c9733254bf9f67932cc4f3833fba9a4914.zip opie-7e3f65c9733254bf9f67932cc4f3833fba9a4914.tar.gz opie-7e3f65c9733254bf9f67932cc4f3833fba9a4914.tar.bz2 |
g++ 3.4 fix in conjunction w/ the qte fix
-rw-r--r-- | noncore/settings/aqpkg/datamgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/datamgr.cpp b/noncore/settings/aqpkg/datamgr.cpp index 67f90a3..93daaba 100644 --- a/noncore/settings/aqpkg/datamgr.cpp +++ b/noncore/settings/aqpkg/datamgr.cpp | |||
@@ -143,35 +143,35 @@ void DataManager :: loadServers() | |||
143 | 143 | ||
144 | destList.append( d ); | 144 | destList.append( d ); |
145 | } | 145 | } |
146 | else if ( lineStr.startsWith( "option" ) || lineStr.startsWith( "#option" ) ) | 146 | else if ( lineStr.startsWith( "option" ) || lineStr.startsWith( "#option" ) ) |
147 | { | 147 | { |
148 | char type[20]; | 148 | char type[20]; |
149 | char val[100]; | 149 | char val[100]; |
150 | sscanf( lineStr, "%*[^ ] %s %s", type, val ); | 150 | sscanf( lineStr, "%*[^ ] %s %s", type, val ); |
151 | if ( stricmp( type, "http_proxy" ) == 0 ) | 151 | if ( qstricmp( type, "http_proxy" ) == 0 ) |
152 | { | 152 | { |
153 | httpProxy = val; | 153 | httpProxy = val; |
154 | if ( lineStr.startsWith( "#" ) ) | 154 | if ( lineStr.startsWith( "#" ) ) |
155 | httpProxyEnabled = false; | 155 | httpProxyEnabled = false; |
156 | else | 156 | else |
157 | httpProxyEnabled = true; | 157 | httpProxyEnabled = true; |
158 | } | 158 | } |
159 | if ( stricmp( type, "ftp_proxy" ) == 0 ) | 159 | if ( qstricmp( type, "ftp_proxy" ) == 0 ) |
160 | { | 160 | { |
161 | ftpProxy = val; | 161 | ftpProxy = val; |
162 | if ( lineStr.startsWith( "#" ) ) | 162 | if ( lineStr.startsWith( "#" ) ) |
163 | ftpProxyEnabled = false; | 163 | ftpProxyEnabled = false; |
164 | else | 164 | else |
165 | ftpProxyEnabled = true; | 165 | ftpProxyEnabled = true; |
166 | } | 166 | } |
167 | if ( stricmp( type, "proxy_username" ) == 0 ) | 167 | if ( qstricmp( type, "proxy_username" ) == 0 ) |
168 | proxyUsername = val; | 168 | proxyUsername = val; |
169 | if ( stricmp( type, "proxy_password" ) == 0 ) | 169 | if ( qstricmp( type, "proxy_password" ) == 0 ) |
170 | proxyPassword = val; | 170 | proxyPassword = val; |
171 | } | 171 | } |
172 | } | 172 | } |
173 | } | 173 | } |
174 | fclose( fp ); | 174 | fclose( fp ); |
175 | 175 | ||
176 | reloadServerData( ); | 176 | reloadServerData( ); |
177 | } | 177 | } |