faubackup2/src/common registration.cpp,1.7,1.8

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

Modified Files:
	registration.cpp 
Log Message:
cleanup whitespaces


Index: registration.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/common/registration.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** registration.cpp	21 Jun 2005 09:16:45 -0000	1.7
--- registration.cpp	26 Jun 2005 18:39:02 -0000	1.8
***************
*** 9,15 ****
  #include "common/common.hpp"
  
- 
  namespace faubackup
  {
  void Registration::kill_process(pid_t pid)
  {
--- 9,15 ----
  #include "common/common.hpp"
  
  namespace faubackup
  {
+ 
  void Registration::kill_process(pid_t pid)
  {
***************
*** 19,29 ****
  Registration::Registration():ssh_process(0)
  {}
  Registration::~Registration()
  {}
  void Registration::child_died_normal(pid_t pid)
  {
! 	if(pid == ssh_process) {
  		ssh_process = 0;
- 	}
  }
  void Registration::child_died_abnormal(pid_t pid)
--- 19,30 ----
  Registration::Registration():ssh_process(0)
  {}
+ 
  Registration::~Registration()
  {}
+ 
  void Registration::child_died_normal(pid_t pid)
  {
! 	if(pid == ssh_process)
  		ssh_process = 0;
  }
  void Registration::child_died_abnormal(pid_t pid)
***************
*** 31,42 ****
  	killAll();
  	output.critical(F_("Child died abnormal: signal %d") % pid, 0);
- 
  }
  
  void Registration::register_ssh(pid_t pid)
  {
- 	//output.information("ssh registered " + int2string(pid),
- 	//	                   NORMAL_OUTPUT);
- 
  	ssh_process = pid;
  }
--- 32,39 ----
***************
*** 49,56 ****
  void Registration::waitforssh()
  {
- 	output.information("warten auf shell" , DEBUG_OUTPUT);
- 
  	waitpid(ssh_process, NULL, 0);
- 	output.information("fertig auf ssh gewartet!" , DEBUG_OUTPUT);
  }
  
--- 46,50 ----



-------------------------------------------------------
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