bryancall commented on code in PR #13733: URL: https://github.com/apache/trafficserver/pull/13733#discussion_r4301757060
########## src/traffic_top/traffic_top.cc: ########## @@ -412,6 +433,7 @@ main([[maybe_unused]] int argc, const char **argv) const string &host = stats.getHost(); initscr(); + curses_started = true; Review Comment: initscr() doesn't return on failure. X/Open has it print an error and exit, so once it returns, curses has started and endwin() is valid. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
