summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-22 03:16:47 (UTC)
committer llornkcor <llornkcor>2002-04-22 03:16:47 (UTC)
commit0a4f886e48153d6f423cc8ad8b31ce491128d423 (patch) (side-by-side diff)
tree6cbbf373919a5e0be34a2b541a7e7eedd27eea58
parent6417ac419f6aa07eec671f3821766c0c0cf958f0 (diff)
downloadopie-0a4f886e48153d6f423cc8ad8b31ce491128d423.zip
opie-0a4f886e48153d6f423cc8ad8b31ce491128d423.tar.gz
opie-0a4f886e48153d6f423cc8ad8b31ce491128d423.tar.bz2
added extern C for #include ftplib.h
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index e15bbef..d78b7d1 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -11,9 +11,13 @@
***************************************************************************/
//#define DEVELOPERS_VERSION
#include "opieftp.h"
+
+extern "C" {
#include "ftplib.h"
+}
+
#include "inputDialog.h"
#include <qpe/qpemenubar.h>
#include <qpe/qpetoolbar.h>
@@ -1231,8 +1235,10 @@ void OpieFtp::serverComboSelected(int index)
remotePath->setText(cfg.readEntry("RemotePath", "/"));
username = cfg.readEntry("Username", "anonymous");
UsernameComboBox->lineEdit()->setText(username);
+
+// qDebug("Password is "+cfg.readEntryCrypt(username, "me@opieftp.org"));
PasswordEdit->setText(cfg.readEntryCrypt(username, "me@opieftp.org"));
cfg.setGroup("Server");
temp.sprintf("%d",currentServerConfig);