diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:43:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:43:41 +0100 |
| commit | 6bc83f72f12c8513a1e9e9b6fd880697a73f968f (patch) | |
| tree | 2b7f8b1456aea84dc088b5638524e908585c7e6e /src/lib/internet.cc | |
| parent | a6b3b4539ae17ce59f975a4be49278f4ccc736fd (diff) | |
while (1) -> while (true)
Diffstat (limited to 'src/lib/internet.cc')
| -rw-r--r-- | src/lib/internet.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/internet.cc b/src/lib/internet.cc index c3f9dce65..99ae5c214 100644 --- a/src/lib/internet.cc +++ b/src/lib/internet.cc @@ -80,7 +80,7 @@ get_from_zip_url (string url, string file, function<void (boost::filesystem::pat ScopedTemporary temp_cert; f = temp_cert.open ("wb"); char buffer[4096]; - while (1) { + while (true) { int const N = zip_fread (zip_file, buffer, sizeof (buffer)); fwrite (buffer, 1, N, f); if (N < int (sizeof (buffer))) { |
