summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-07-06 15:59:46 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-07-06 15:59:46 (GMT)
commitb07ad963df5a79217061144bdea1ef7fc27956dc (patch)
tree5dfd4fef680020a2f3dd3634f731c1289c4006d5 /examples
parent0efaf7ca6cef5e50990bef3a88e64ec1869ad126 (diff)
downloadQt-b07ad963df5a79217061144bdea1ef7fc27956dc.zip
Qt-b07ad963df5a79217061144bdea1ef7fc27956dc.tar.gz
Qt-b07ad963df5a79217061144bdea1ef7fc27956dc.tar.bz2
Commenting some debug printf(...).
Diffstat (limited to 'examples')
-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 ebb5402..06d9482 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()