faubackup2/src/copier informationSender.cpp,1.1.1.1,1.2
Erik Merkel <[email protected]> Mon, 06 Jun 2005 12:56:22 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src/copier
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24168/src/copier
Modified Files:
informationSender.cpp
Log Message:
corrected code to prevent "shadow member" warnings
Index: informationSender.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/informationSender.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** informationSender.cpp 2 Jun 2005 09:31:13 -0000 1.1.1.1
--- informationSender.cpp 6 Jun 2005 12:56:20 -0000 1.2
***************
*** 5,15 ****
namespace faubackup
{
! InformationSender::InformationSender(NetCommunication &net, string startdir)
{
! if(startdir != "")
! if(startdir[startdir.length()-1] != '/')
! startdir.append("/");
! this->startdir = startdir;
network = &net;
--- 5,15 ----
namespace faubackup
{
! InformationSender::InformationSender(NetCommunication &net, string dir)
{
! if(dir != "")
! if(dir[dir.length()-1] != '/')
! dir.append("/");
! startdir = dir;
network = &net;
***************
*** 60,65 ****
return i->second;
i++;
! }
! while(i != j);
register_hardlink_file(name, st.st_ino);
--- 60,64 ----
return i->second;
i++;
! } while(i != j);
register_hardlink_file(name, st.st_ino);
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20