fixed spelling, ran through the formatter
This commit is contained in:
parent
35a213942c
commit
81aac8bb57
|
@ -704,7 +704,10 @@ int LinkTable_disk_save(LinkTable *linktbl, const char *dirn)
|
|||
/* This is necessary to get the compiler on some platforms to stop
|
||||
complaining about the fact that we're not using the return value of
|
||||
fread, when we know we aren't and that's fine. */
|
||||
static inline void ignore_value(int i) { (void) i; }
|
||||
static inline void ignore_value(int i)
|
||||
{
|
||||
(void) i;
|
||||
}
|
||||
|
||||
LinkTable *LinkTable_disk_open(const char *dirn)
|
||||
{
|
||||
|
@ -1064,7 +1067,9 @@ long Link_download(Link *link, char *output_buf, size_t req_size, off_t offset)
|
|||
header.data = NULL;
|
||||
|
||||
if (offset + req_size > link->content_length) {
|
||||
lprintf(error, "requested size to large, req_size: %lu, recv: %ld, content-length: %ld\n", req_size, recv, link->content_length);
|
||||
lprintf(error,
|
||||
"requested size too large, req_size: %lu, recv: %ld, content-length: %ld\n",
|
||||
req_size, recv, link->content_length);
|
||||
req_size = link->content_length - offset;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue