mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
Squash warning
svn path=/trunk/netsurf/; revision=4257
This commit is contained in:
parent
b661f3deaf
commit
5015eb6e87
@ -691,7 +691,7 @@ void fetchcache_parse_header(struct content *c, const char *data,
|
|||||||
SKIP_ST(5);
|
SKIP_ST(5);
|
||||||
strncpy(c->cache_data.etag, data + i, size - i);
|
strncpy(c->cache_data.etag, data + i, size - i);
|
||||||
c->cache_data.etag[size - i] = '\0';
|
c->cache_data.etag[size - i] = '\0';
|
||||||
for (i = size - i - 1; i >= 0 &&
|
for (i = size - i - 1; ((int) i) >= 0 &&
|
||||||
(c->cache_data.etag[i] == ' ' ||
|
(c->cache_data.etag[i] == ' ' ||
|
||||||
c->cache_data.etag[i] == '\t' ||
|
c->cache_data.etag[i] == '\t' ||
|
||||||
c->cache_data.etag[i] == '\r' ||
|
c->cache_data.etag[i] == '\r' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user