[Box Backup-commit] COMMIT r1344 - box/chris/general/bin/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Mar 4 00:23:44 GMT 2007


Author: chris
Date: 2007-03-04 00:23:44 +0000 (Sun, 04 Mar 2007)
New Revision: 1344

Modified:
   box/chris/general/bin/bbackupd/BackupDaemon.cpp
Log:
Undo bad change (use real length when writing to bbackupctl)


Modified: box/chris/general/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-03-04 00:22:51 UTC (rev 1343)
+++ box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-03-04 00:23:44 UTC (rev 1344)
@@ -2042,7 +2042,8 @@
 	// Something connected to the command socket, tell it about the new state
 	try
 	{
-		mpCommandSocketInfo->mpConnectedSocket->Write(newState, newStateSize);
+		mpCommandSocketInfo->mpConnectedSocket->Write(message.c_str(),
+			message.length());
 	}
 	catch(std::exception &e)
 	{




More information about the Boxbackup-commit mailing list