diff --git a/main/manager.c b/main/manager.c index e018eeead057ae86754620e8349b06eba9b2496c..a493af346abbe056ed77401bde1c297a283b2f24 100644 --- a/main/manager.c +++ b/main/manager.c @@ -89,10 +89,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/stringfields.h" #include "asterisk/presencestate.h" -#ifdef HAVE_CURSES -#include <curses.h> -#endif - /*** DOCUMENTATION <manager name="Ping" language="en_US"> <synopsis> @@ -1838,11 +1834,7 @@ static char *handle_showmancmds(struct ast_cli_entry *e, int cmd, struct ast_cli } } -#ifdef HAVE_CURSES - space_remaining = COLS - name_len - 4; -#else space_remaining = MGR_SHOW_TERMINAL_WIDTH - name_len - 4; -#endif if (space_remaining < 0) { space_remaining = 0; }