From 030a8552db2b73ab9fc2980dbf66a43680d7ba18 Mon Sep 17 00:00:00 2001 From: login Date: Wed, 6 Jan 2021 13:05:23 +0000 Subject: Added comment to tcoin.cpp Added comment to tcoin.cpp to send the actual error message to stderr when running exit_program(err_no). --- tcoin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tcoin.cpp b/tcoin.cpp index 73063ac..f07696f 100644 --- a/tcoin.cpp +++ b/tcoin.cpp @@ -86,6 +86,8 @@ void exit_program(const int error_number) { // Cleanup to do before exiting the program + //TODO: Print the actual error code to stderr + // Finally, we can exit std::exit(error_number); } -- cgit 1.4.1-2-gfad0