faubackup2/src/rsync rsync.cpp,1.10,1.11

Erik Merkel <[email protected]> Sun, 26 Jun 2005 18:39:05 +0000
Newsgroups gmane.comp.sysutils.backup.faubackup.cvs
Message-ID <[email protected]>
Update of /cvsroot/faubackup/faubackup2/src/rsync
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25722/rsync

Modified Files:
	rsync.cpp 
Log Message:
cleanup whitespaces


Index: rsync.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/rsync/rsync.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** rsync.cpp	14 Jun 2005 20:23:35 -0000	1.10
--- rsync.cpp	26 Jun 2005 18:39:02 -0000	1.11
***************
*** 56,60 ****
  void checkSum(string fileName, uint64_t fileSize, NetCommunication &out)
  {
! 	//char buffer[STAT_CHAR_ARRAY_SIZE];
  	rs_stats_t stats;
  	rs_result result;
--- 56,60 ----
  void checkSum(string fileName, uint64_t fileSize, NetCommunication &out)
  {
! 	char buffer[STAT_CHAR_ARRAY_SIZE];
  	rs_stats_t stats;
  	rs_result result;
***************
*** 81,86 ****
  		output.non_critical("error creating rsync checksum for " + fileName + " " + string(error_msg),0);
  	} else {
! 		//	rs_format_stats(&stats, buffer, STAT_CHAR_ARRAY_SIZE);
! 		//	output.information(fileName + " : " + string(buffer), DEBUG_OUTPUT);
  	}
  	fclose(file);
--- 81,86 ----
  		output.non_critical("error creating rsync checksum for " + fileName + " " + string(error_msg),0);
  	} else {
! 		rs_format_stats(&stats, buffer, STAT_CHAR_ARRAY_SIZE);
! 		output.information(fileName + " : " + string(buffer), DEBUG_OUTPUT);
  	}
  	fclose(file);
***************
*** 89,93 ****
  void delta(string fileName, NetCommunication &in, NetCommunication &out)
  {
! 	//char buffer[STAT_CHAR_ARRAY_SIZE];
  	rs_stats_t stats;
  	rs_result result;
--- 89,93 ----
  void delta(string fileName, NetCommunication &in, NetCommunication &out)
  {
! 	char buffer[STAT_CHAR_ARRAY_SIZE];
  	rs_stats_t stats;
  	rs_result result;
***************
*** 104,109 ****
  		output.non_critical("error creating rsync delta for " + fileName + " " + string(error_msg),0);
  	} else {
! 		//	rs_format_stats(&stats, buffer, STAT_CHAR_ARRAY_SIZE);
! 		//	output.information(fileName + " : " + string(buffer), DEBUG_OUTPUT);
  	}
  	fclose(file);
--- 104,109 ----
  		output.non_critical("error creating rsync delta for " + fileName + " " + string(error_msg),0);
  	} else {
! 		rs_format_stats(&stats, buffer, STAT_CHAR_ARRAY_SIZE);
! 		output.information(fileName + " : " + string(buffer), DEBUG_OUTPUT);
  	}
  	fclose(file);
***************
*** 112,116 ****
  void patch(string newFile, string oldFile, NetCommunication &in)
  {
! 	//char buffer[STAT_CHAR_ARRAY_SIZE];
  	rs_stats_t stats;
  	rs_result result;
--- 112,116 ----
  void patch(string newFile, string oldFile, NetCommunication &in)
  {
! 	char buffer[STAT_CHAR_ARRAY_SIZE];
  	rs_stats_t stats;
  	rs_result result;
***************
*** 131,136 ****
  		output.non_critical("error creating rsync patch for " + newFile + " with " + oldFile+ " " + string(error_msg),0);
  	} else {
! 		//	rs_format_stats(&stats, buffer, STAT_CHAR_ARRAY_SIZE);
! 		//	output.information(newFile + " : " + string(buffer), DEBUG_OUTPUT);
  	}
  	fclose(file_old);
--- 131,136 ----
  		output.non_critical("error creating rsync patch for " + newFile + " with " + oldFile+ " " + string(error_msg),0);
  	} else {
! 		rs_format_stats(&stats, buffer, STAT_CHAR_ARRAY_SIZE);
! 		output.information(newFile + " : " + string(buffer), DEBUG_OUTPUT);
  	}
  	fclose(file_old);



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click