Add source code module name to stdout/stderr message to improve readability.

pull/16/head
Darrell Anderson 13 years ago
parent 4f26acaada
commit 070bc678cc

@ -131,7 +131,7 @@ static TQCString readQCString(TQDataStream &ds)
if ((bytesLeft < 0 ) || (len > (uint) bytesLeft))
{
tqWarning("[dcopserver] Corrupt data!\n");
printf("bytesLeft: %d, len: %d\n", bytesLeft, len);
printf("[dcopserver] bytesLeft: %d, len: %d\n", bytesLeft, len);
return result;
}
result.TQByteArray::resize( (uint)len );

Loading…
Cancel
Save