summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-07-06 17:59:46 +0200
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-07-06 17:59:46 +0200
commitb07ad963df5a79217061144bdea1ef7fc27956dc (patch)
tree5dfd4fef680020a2f3dd3634f731c1289c4006d5 /examples/network
parent0efaf7ca6cef5e50990bef3a88e64ec1869ad126 (diff)
Commenting some debug printf(...).
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/ftp/sym_iap_util.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/examples/network/ftp/sym_iap_util.h b/examples/network/ftp/sym_iap_util.h
index ebb5402ff8..06d9482854 100644
--- a/examples/network/ftp/sym_iap_util.h
+++ b/examples/network/ftp/sym_iap_util.h
@@ -188,8 +188,10 @@ static QString qt_OfferIapDialog() {
QString strIapName((char*)iapName.Ptr());
int error = 0;
- if(!qt_SetDefaultIapName(strIapName, error))
- printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);
+ if(!qt_SetDefaultIapName(strIapName, error)) {
+ //printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);
+ strIapName = QString("");
+ }
CleanupStack::PopAndDestroy(&connection);
CleanupStack::PopAndDestroy(&socketServ);
@@ -236,8 +238,10 @@ static QString qt_CheckForActiveConnection() {
// }
strIapName = QString((char*)iapName.Ptr());
int error = 0;
- if(!qt_SetDefaultIapName(strIapName, error))
- printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);
+ if(!qt_SetDefaultIapName(strIapName, error)) {
+ //printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);
+ strIapName = QString("");
+ }
CleanupStack::PopAndDestroy(&tempConn);
break;
@@ -260,12 +264,13 @@ static QString qt_CheckSettingsForConnection(QStringList& iapNames) {
QString strIapName = iapNames.at(index);
int error = 0;
if(!qt_SetDefaultIapName(strIapName, error)) {
- printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);
+ //printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);
+ strIapName = QString("");
} else {
return strIapName;
}
}
- return QString("");
+ return strIapName;
}
static void qt_SetDefaultIapL()