author | zecke <zecke> | 2003-09-20 18:20:54 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-09-20 18:20:54 (UTC) |
commit | a986ab57229fa7a0d039d320001dc48018951bf1 (patch) (side-by-side diff) | |
tree | eed67efa5e0a18ce0a7b70665473574b0638fa40 | |
parent | 2c35d17b1c497486f6f33ed31567507419706d97 (diff) | |
download | opie-a986ab57229fa7a0d039d320001dc48018951bf1.zip opie-a986ab57229fa7a0d039d320001dc48018951bf1.tar.gz opie-a986ab57229fa7a0d039d320001dc48018951bf1.tar.bz2 |
Fix the config name no need to append the .conf yourself
-rw-r--r-- | core/launcher/transferserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp index 2180577..c69df2d 100644 --- a/core/launcher/transferserver.cpp +++ b/core/launcher/transferserver.cpp @@ -217,17 +217,17 @@ bool SyncAuthentication::checkPassword( const QString& password ) if ( lock ) return FALSE; ++lock; /* * we need to support old Sync software and QtopiaDesktop */ if ( password.left(6) == "Qtopia" || password.left(6) == "rootme" ) { - Config cfg( "Security.conf" ); + Config cfg( "Security" ); cfg.setGroup("Sync"); QStringList pwds = cfg.readListEntry("Passwords",' '); for (QStringList::ConstIterator it=pwds.begin(); it!=pwds.end(); ++it) { #ifndef Q_OS_WIN32 QString cpassword = QString::fromLocal8Bit( crypt( password.mid(8).local8Bit(), (*it).left(2).latin1() ) ); #else // ### revise |