From: curt Date: Fri, 2 Apr 2004 16:17:08 +0000 (+0000) Subject: Clean up some debugging output. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b5c9a3c0e27326d563d4a00591cac071b5d751f8;p=flightgear.git Clean up some debugging output. --- diff --git a/src/FDM/ExternalPipe/ExternalPipe.cxx b/src/FDM/ExternalPipe/ExternalPipe.cxx index 297fde2a6..089d55356 100644 --- a/src/FDM/ExternalPipe/ExternalPipe.cxx +++ b/src/FDM/ExternalPipe/ExternalPipe.cxx @@ -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