aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_prg.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-13 16:15:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-13 16:15:26 +0100
commit64e959ffe37c436503f9fed1ce2d6ee6ae50bd9a (patch)
treef86e6fba6c3250aea26429bed2f5c80c97494aa0 /src/tool_cb_prg.c
parent86e21973376320b243b180679ff9c439b92e7cd0 (diff)
cleanup: general removal of TODO (and similar) comments
They tend to never get updated anyway so they're frequently inaccurate and we never go back to revisit them anyway. We document issues to work on properly in KNOWN_BUGS and TODO instead.
Diffstat (limited to 'src/tool_cb_prg.c')
-rw-r--r--src/tool_cb_prg.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/tool_cb_prg.c b/src/tool_cb_prg.c
index 9e3c5fb4e..e6ec032ab 100644
--- a/src/tool_cb_prg.c
+++ b/src/tool_cb_prg.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -117,11 +117,8 @@ void progressbarinit(struct ProgressData *bar,
if(config->use_resume)
bar->initial_size = config->resume_from;
-/* TODO: get terminal width through ansi escapes or something similar.
- try to update width when xterm is resized... - 19990617 larsa */
#ifndef __EMX__
- /* 20000318 mgs
- * OS/2 users most likely won't have this env var set, and besides that
+ /* OS/2 users most likely won't have this env var set, and besides that
* we're using our own way to determine screen width */
colp = curlx_getenv("COLUMNS");
if(colp) {
@@ -136,8 +133,7 @@ void progressbarinit(struct ProgressData *bar,
else
bar->width = 79;
#else
- /* 20000318 mgs
- * We use this emx library call to get the screen width, and subtract
+ /* We use this emx library call to get the screen width, and subtract
* one from what we got in order to avoid a problem with the cursor
* advancing to the next line if we print a string that is as long as
* the screen is wide. */