diff options
author | alberth <alberth@openttd.org> | 2011-02-25 21:53:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-02-25 21:53:43 +0000 |
commit | 1dbc0a20bed5cd85035b4f84a649c4f7386b07ab (patch) | |
tree | 2913d6359a374885441eeb51a67c6e0c7e0f08ef /src/network | |
parent | 87c8d97aca779cb227a4e015233cd266b63f2b79 (diff) | |
download | openttd-1dbc0a20bed5cd85035b4f84a649c4f7386b07ab.tar.xz |
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_content.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index e0ff5ab28..05a7a7bf5 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -379,7 +379,7 @@ static bool GunzipFile(const ContentInfo *ci) ret = false; } else { byte buff[8192]; - while (1) { + for (;;) { int read = gzread(fin, buff, sizeof(buff)); if (read == 0) { /* If gzread() returns 0, either the end-of-file has been |