summaryrefslogtreecommitdiff
path: root/rsync
authormickeyl <mickeyl>2004-04-05 13:49:07 (UTC)
committer mickeyl <mickeyl>2004-04-05 13:49:07 (UTC)
commitf44b1d4abe82cfb74db68bffcaf240f6f6134708 (patch) (side-by-side diff)
treec150abb3cbc842fd930d3ab7543a0b34ec3145ad /rsync
parent997a521a3ee84f614e2781a663911096ffb4a91a (diff)
downloadopie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.zip
opie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.tar.gz
opie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.tar.bz2
use opie debugging
Diffstat (limited to 'rsync') (more/less context) (ignore whitespace changes)
-rw-r--r--rsync/qrsync.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/rsync/qrsync.cpp b/rsync/qrsync.cpp
index fe5f1bc..a2dbafc 100644
--- a/rsync/qrsync.cpp
+++ b/rsync/qrsync.cpp
@@ -7,2 +7,7 @@ extern "C" {
+/* OPIE */
+#include <opie2/odebug.h>
+using namespace Opie::Core;
+
+/* QT */
#include <qfile.h>
@@ -47,3 +52,3 @@ void QRsync::generateDiff( QString baseFile, QString sigFile, QString deltaFile
if (result != RS_DONE) {
- qDebug( "rdiffGenDiff: loading of sig file failed, error=%d", result );
+ odebug << "rdiffGenDiff: loading of sig file failed, error=" << result << "" << oendl;
} else {
@@ -51,3 +56,3 @@ void QRsync::generateDiff( QString baseFile, QString sigFile, QString deltaFile
if ( result != RS_DONE) {
- qDebug( "rdiffGenDiff: building of hash table failed, error=%d", result );
+ odebug << "rdiffGenDiff: building of hash table failed, error=" << result << "" << oendl;
} else {
@@ -55,3 +60,3 @@ void QRsync::generateDiff( QString baseFile, QString sigFile, QString deltaFile
if ( result != RS_DONE) {
- qDebug( "rdiffGenDiff: writing of diff file failed, error=%d", result );
+ odebug << "rdiffGenDiff: writing of diff file failed, error=" << result << "" << oendl;
}
@@ -90,3 +95,3 @@ void QRsync::applyDiff( QString baseFile, QString deltaFile )
if (result != RS_DONE) {
- qDebug( "rdiffApplyDiff failed with result %d", result );
+ odebug << "rdiffApplyDiff failed with result " << result << "" << oendl;
return;