MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001483VCMIOtherpublic2013-09-27 06:192022-04-11 17:49
Reporterpeter_lemenkov 
Assigned ToIvan 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.94 
Summary0001483: vcmiclient: missing newline in the last console message
DescriptionIf you start vcmiclient from the terminal, enjoy playing it for a while, and close it, you'll see that the last message should contain "\n".

Right now it looks like this:

=======================

Connection has been requested to be closed.
Sent closing signal to the server
Connection handler thread joined
Our socket has been closed.
Closed connection.
Ending current game!
Removed GUI.
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Deleted mapHandler and gameState.
Deleted playerInts.
Client stopped.
Killing console...
Killing console... done!
Server closed correctly
Ending...Auriga ~/.vcmi:

=======================

The last line should be:

Ending...
Auriga ~/.vcmi:

Please add \n to the last message - https://github.com/vcmi/vcmi/blob/master/client/CMT.cpp#L967 [^] :

-std::cout << "Ending...";
+std::cout << "Ending...\n";



TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004058)
Ivan (developer)
2013-09-28 13:34

Fixed.

- Issue History
Date Modified Username Field Change
2013-09-27 06:19 peter_lemenkov New Issue
2013-09-28 13:34 Ivan Note Added: 0004058
2013-09-28 13:34 Ivan Status new => resolved
2013-09-28 13:34 Ivan Fixed in Version => 0.94
2013-09-28 13:34 Ivan Resolution open => fixed
2013-09-28 13:34 Ivan Assigned To => Ivan
2022-04-11 17:49 Povelitel Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean