aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2015-05-31 02:00:49 +0000
committercorvid <devnull@localhost>2015-05-31 02:00:49 +0000
commitf8c3e19ac18075a45c48a5fc36cd2499defaf7e1 (patch)
tree68205906e03cf25f811454d25a449c42d308ee6d
parentb7fbeaab0b05dd06440a83f1bf2575ff0fa628fc (diff)
rm MSG
-rw-r--r--src/cache.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cache.c b/src/cache.c
index 2cc8c0aa..9ff1cf14 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -857,17 +857,6 @@ static void Cache_finish_msg(CacheEntry_t *entry)
MSG("Expected size: %d, Transfer size: %d\n",
entry->ExpectedSize, entry->TransferSize);
}
- if (!entry->TransferSize && !(entry->Flags & CA_Redirect) &&
- (entry->Flags & WEB_RootUrl)) {
- char *eol = strchr(entry->Header->str, '\n');
- if (eol) {
- char *status_line = dStrndup(entry->Header->str,
- eol - entry->Header->str);
- MSG_HTTP("Body of %s was empty. Server sent status: %s\n",
- URL_STR_(entry->Url), status_line);
- dFree(status_line);
- }
- }
entry->Flags |= CA_GotData;
entry->Flags &= ~CA_Stopped; /* it may catch up! */
if (entry->TransferDecoder) {