From 67f0b330e7ed059feb1397db22ad3fc3e5f4279f Mon Sep 17 00:00:00 2001 From: Martin Raiber Date: Thu, 15 Dec 2011 21:54:44 +0100 Subject: [PATCH] Persist image on timeout --- urbackup/ClientService.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/urbackup/ClientService.cpp b/urbackup/ClientService.cpp index d2cc47a2..364587c3 100644 --- a/urbackup/ClientService.cpp +++ b/urbackup/ClientService.cpp @@ -2122,6 +2122,7 @@ void ClientConnector::sendFullImageThread(void) { Server->Log("Pipe broken -2", LL_ERROR); run=false; + has_error=true; break; } @@ -2151,6 +2152,7 @@ void ClientConnector::sendFullImageThread(void) { Server->Log("Pipe broken -3", LL_ERROR); run=false; + has_error=true; break; } @@ -2162,7 +2164,7 @@ void ClientConnector::sendFullImageThread(void) Server->Log("Sending full image done", LL_INFO); - #ifdef VSS_XP //persistence +#ifdef VSS_XP //persistence has_error=false; #endif #ifdef VSS_S03 @@ -2354,7 +2356,7 @@ void ClientConnector::sendIncrImageThread(void) } else { - Server->Log("Block didn't change: "+nconvert(i), LL_DEBUG); + //Server->Log("Block didn't change: "+nconvert(i), LL_DEBUG); int64 bs=-125; char* buffer=cs->getBuffer(); memcpy(buffer, &bs, sizeof(int64) );