From 0a4f886e48153d6f423cc8ad8b31ce491128d423 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Mon, 22 Apr 2002 03:16:47 +0000 Subject: added extern C for #include ftplib.h --- (limited to 'noncore/net/opieftp') 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 @@ -12,7 +12,11 @@ //#define DEVELOPERS_VERSION #include "opieftp.h" + +extern "C" { #include "ftplib.h" +} + #include "inputDialog.h" #include @@ -1232,6 +1236,8 @@ void OpieFtp::serverComboSelected(int index) 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"); -- cgit v0.9.0.2