]> git.mxchange.org Git - flightgear.git/commitdiff
Clean up some debugging output.
authorcurt <curt>
Fri, 2 Apr 2004 16:17:08 +0000 (16:17 +0000)
committercurt <curt>
Fri, 2 Apr 2004 16:17:08 +0000 (16:17 +0000)
src/FDM/ExternalPipe/ExternalPipe.cxx

index 297fde2a68955f683508657f7c5bc01ddba3b9e4..089d553569286b0ba8fe8c84bebe7813963280eb 100644 (file)
@@ -244,24 +244,24 @@ void FGExternalPipe::update( double dt ) {
     *((int *)ptr) = iterations;
     ptr += sizeof(int);
     memcpy( ptr, (char *)(&ctrls), length );
-    cout << "writing control structure to remote fdm." << endl;
+    // cout << "writing control structure to remote fdm." << endl;
     result = write( pd1, buf, length + 1 );
     if ( result == -1 ) {
         SG_LOG( SG_IO, SG_ALERT, "Write error to named pipe: "
                 << fifo_name_1 );
     } else {
-        cout << "  write successful = " << length + 1 << endl;
+        // cout << "  write successful = " << length + 1 << endl;
     }
 
     // Read fdm values
     length = sizeof(fdm);
-    cout << "about to read fdm data from remote fdm." << endl;
+    // cout << "about to read fdm data from remote fdm." << endl;
     result = read( pd2, (char *)(& fdm), length );
     if ( result == -1 ) {
         SG_LOG( SG_IO, SG_ALERT, "Read error from named pipe: "
                 << fifo_name_2 );
     } else {
-        cout << "  read successful." << endl;
+        // cout << "  read successful." << endl;
     }
     FGNetFDM2Props( &fdm, false );
 #endif