about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlogin <login@tilde.team>2021-01-06 13:05:23 +0000
committerlogin <login@tilde.team>2021-01-06 13:05:23 +0000
commit030a8552db2b73ab9fc2980dbf66a43680d7ba18 (patch)
tree0fa802c77ca00c61a9e78d1a8e49effd3356d0b2
parent6ce0b0687f94d4a821415328e0c025a55c6291a6 (diff)
downloadtcoin-030a8552db2b73ab9fc2980dbf66a43680d7ba18.tar.gz
Added comment to tcoin.cpp
Added comment to tcoin.cpp to send the actual error message to
stderr when running exit_program(err_no).
-rw-r--r--tcoin.cpp2
1 files changed, 2 insertions, 0 deletions
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);
 }