mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
Refactor HTTP client
This commit is contained in:
1 parent
b0a5165b44
commit
aede72fa37
6 files changed
+42
-45
No files matched your search
@@ -58,7 +58,7 @@ static size_t mg_dns_parse_name(const uint8_t *s, const uint8_t *e, size_t off,
|
||||
j += n;
|
||||
i += n + 1;
|
||||
to[j] = '\0'; // Zero-terminate this chunk
|
||||
LOG(LL_DEBUG, ("-- %zu/%zu %zu %zu", i, e - s, j, n));
|
||||
// LOG(LL_DEBUG, ("-- %zu/%zu %zu %zu", i, e - s, j, n));
|
||||
}
|
||||
if (tolen > 0) to[tolen - 1] = '\0'; // Make sure make sure it is nul-term
|
||||
return i;
|
||||
|
||||
Reference in new issue
Block a user