1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Removed C++ style comments from http.c and test.c, as we support C89 compilers as well.

This commit is contained in:
mtortonesi 2005-12-05 02:55:30 -08:00
parent d40086ba5f
commit e7433e4027
2 changed files with 7 additions and 7 deletions

View File

@ -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 /* Non-fatal errors continue executing the loop, which will
bring them to "while" statement at the end, to judge bring them to "while" statement at the end, to judge
whether the number of tries was exceeded. */ whether the number of tries was exceeded. */
//free_hstat (&hstat); /* free_hstat (&hstat); */
printwhat (count, opt.ntry); printwhat (count, opt.ntry);
continue; continue;
case HOSTERR: case CONIMPOSSIBLE: case PROXERR: case AUTHFAILED: 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")); _("Remote file is newer, retrieving.\n"));
} }
//free_hstat (&hstat); /* free_hstat (&hstat); */
hstat.timestamp_checked = true; hstat.timestamp_checked = true;
continue; continue;
} }
@ -2434,7 +2434,7 @@ The sizes do not match (local %s) -- retrieving.\n"),
_("%s (%s) - Connection closed at byte %s. "), _("%s (%s) - Connection closed at byte %s. "),
tms, tmrate, number_to_static_string (hstat.len)); tms, tmrate, number_to_static_string (hstat.len));
printwhat (count, opt.ntry); printwhat (count, opt.ntry);
//free_hstat (&hstat); /* free_hstat (&hstat); */
continue; continue;
} }
else else
@ -2451,7 +2451,7 @@ The sizes do not match (local %s) -- retrieving.\n"),
tms, tmrate, number_to_static_string (hstat.len), tms, tmrate, number_to_static_string (hstat.len),
hstat.rderrmsg); hstat.rderrmsg);
printwhat (count, opt.ntry); printwhat (count, opt.ntry);
//free_hstat (&hstat); /* free_hstat (&hstat); */
continue; continue;
} }
else /* hstat.res == -1 and contlen is given */ 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), number_to_static_string (hstat.contlen),
hstat.rderrmsg); hstat.rderrmsg);
printwhat (count, opt.ntry); printwhat (count, opt.ntry);
//free_hstat (&hstat); /* free_hstat (&hstat); */
continue; continue;
} }
} }

View File

@ -37,12 +37,12 @@ so, delete this exception statement from your version. */
int tests_run; int tests_run;
// char *test_ccache(); /* char *test_ccache(); */
static char * static char *
all_tests() all_tests()
{ {
// mu_run_test (test_ccache); /* mu_run_test (test_ccache); */
return NULL; return NULL;
} }