From: mtortonesi Date: Mon, 5 Dec 2005 10:55:30 +0000 (-0800) Subject: [svn] Removed C++ style comments from http.c and test.c, as we support C89 compilers... X-Git-Tag: v1.13~699 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=e7433e4027129e2bdceea1788ac096af68101487 [svn] Removed C++ style comments from http.c and test.c, as we support C89 compilers as well. --- diff --git a/src/http.c b/src/http.c index c69739cb..971c9f16 100644 --- a/src/http.c +++ b/src/http.c @@ -2222,7 +2222,7 @@ http_loop (struct url *u, char **newloc, char **local_file, const char *referer, /* Non-fatal errors continue executing the loop, which will bring them to "while" statement at the end, to judge whether the number of tries was exceeded. */ - //free_hstat (&hstat); + /* free_hstat (&hstat); */ printwhat (count, opt.ntry); continue; case HOSTERR: case CONIMPOSSIBLE: case PROXERR: case AUTHFAILED: @@ -2336,7 +2336,7 @@ The sizes do not match (local %s) -- retrieving.\n"), _("Remote file is newer, retrieving.\n")); } - //free_hstat (&hstat); + /* free_hstat (&hstat); */ hstat.timestamp_checked = true; continue; } @@ -2434,7 +2434,7 @@ The sizes do not match (local %s) -- retrieving.\n"), _("%s (%s) - Connection closed at byte %s. "), tms, tmrate, number_to_static_string (hstat.len)); printwhat (count, opt.ntry); - //free_hstat (&hstat); + /* free_hstat (&hstat); */ continue; } else @@ -2451,7 +2451,7 @@ The sizes do not match (local %s) -- retrieving.\n"), tms, tmrate, number_to_static_string (hstat.len), hstat.rderrmsg); printwhat (count, opt.ntry); - //free_hstat (&hstat); + /* free_hstat (&hstat); */ continue; } else /* hstat.res == -1 and contlen is given */ @@ -2463,7 +2463,7 @@ The sizes do not match (local %s) -- retrieving.\n"), number_to_static_string (hstat.contlen), hstat.rderrmsg); printwhat (count, opt.ntry); - //free_hstat (&hstat); + /* free_hstat (&hstat); */ continue; } } diff --git a/src/test.c b/src/test.c index a124eeaa..5f547d84 100644 --- a/src/test.c +++ b/src/test.c @@ -37,12 +37,12 @@ so, delete this exception statement from your version. */ int tests_run; -// char *test_ccache(); +/* char *test_ccache(); */ static char * all_tests() { - // mu_run_test (test_ccache); + /* mu_run_test (test_ccache); */ return NULL; }