[4.1] 5f9cf70 Fix typo spotted by fgs
Lasse Karstensen
lkarsten at varnish-software.com
Thu Jan 14 15:15:11 CET 2016
commit 5f9cf70f1a0d00619e110c7ad2200b346992a719
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Jan 6 14:34:30 2016 +0000
Fix typo spotted by fgs
diff --git a/lib/libvarnish/vsub.c b/lib/libvarnish/vsub.c
index b669fff..d774e53 100644
--- a/lib/libvarnish/vsub.c
+++ b/lib/libvarnish/vsub.c
@@ -58,7 +58,7 @@ VSUB_closefrom(int fd)
#ifdef HAVE_CLOSEFROM
closefrom(fd);
#else
- int i = sysconf(_SC_OPEN_MAX);
+ int i;
for (i = sysconf(_SC_OPEN_MAX); i > fd; i--)
(void)close(i);
#endif
More information about the varnish-commit
mailing list