Author: aconway
Date: Thu Sep 25 10:42:20 2008
New Revision: 699031

URL: http://svn.apache.org/viewvc?rev=699031&view=rev
Log:
Fixed incorrect exception message.

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Daemon.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Daemon.cpp
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Daemon.cpp?rev=699031&r1=699030&r2=699031&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Daemon.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Daemon.cpp Thu Sep 25 
10:42:20 2008
@@ -128,9 +128,8 @@
      * Read the child's port number from the pipe.
      */
     int desired_read = sizeof(uint16_t);
-    if ( desired_read > ::read(pipeFds[0], & port, desired_read) ) {
-      throw Exception("Cannot write lock file "+lockFile);
-    }
+    if ( desired_read > ::read(pipeFds[0], & port, desired_read) ) 
+      throw Exception("Cannot read from child process.");
 
     /*
      * If the port number is 0, the child has put an error message


Reply via email to