diff options
author | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-08-16 00:02:01 +0300 |
---|---|---|
committer | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-08-16 00:02:01 +0300 |
commit | 6d003d27882dc6aae746264b0afde7e556bff0f3 (patch) | |
tree | 9d0d438f929f424e933beb628a2fc048de56f798 /seggetd/tui.cpp | |
parent | Fix pkgconfig problem with libcrypto++, and rename segget.* to seggetd.* (diff) | |
download | idfetch-6d003d27882dc6aae746264b0afde7e556bff0f3.tar.gz idfetch-6d003d27882dc6aae746264b0afde7e556bff0f3.tar.bz2 idfetch-6d003d27882dc6aae746264b0afde7e556bff0f3.zip |
Add show_help() function and remove deprecated code lines.
Diffstat (limited to 'seggetd/tui.cpp')
-rw-r--r-- | seggetd/tui.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/seggetd/tui.cpp b/seggetd/tui.cpp index 2357fe7..15bda38 100644 --- a/seggetd/tui.cpp +++ b/seggetd/tui.cpp @@ -29,27 +29,20 @@ extern Tsettings settings; const uint CONNECTION_LINES=3; string screenlines[DEBUG_LINE_NUM+1]; -//vector<string> log_lines; uint log_lines_counter=0; uint max_published_screenline_num; -//bool msg_idle=true; void msg(uint y, uint x, string msg_text){ -// if (msg_idle){ -// msg_idle=false; try{ if (max_published_screenline_num<y && y<MAX_LINES) max_published_screenline_num=y; screenlines[y]=msg_text; ui_server.send_connection_msg_to_all_clients(y,msg_text); -// string ready_msg_text=msg_text+" "; string ready_msg_text=msg_text+""; mvaddstr(y,x,ready_msg_text.c_str()); refresh(); }catch(...){ error_log_no_msg("Error in tui.cpp: msg()"); } -// msg_idle=true; -// } } void msg_segment_progress(uint connection_num, string progress_text){ @@ -82,7 +75,6 @@ void msg_clean_connection(uint connection_num){ void msg_log(string log_text){ try{ ui_server.send_log_msg_to_all_clients(log_text); -// msg(20,0, error_text); }catch(...){ error_log_no_msg("Error in tui.cpp: msg_error()"); } @@ -90,7 +82,6 @@ void msg_log(string log_text){ void msg_error_log(string error_log_text){ try{ ui_server.send_error_log_msg_to_all_clients(error_log_text); -// msg(20,0, error_text); }catch(...){ error_log_no_msg("Error in tui.cpp: msg_error()"); } |