[master] 1dfaf8a Editor-malfunction

Poul-Henning Kamp phk at varnish-cache.org
Wed Mar 9 13:51:10 CET 2011


commit 1dfaf8aa53f556ab99359dbf1d948f9f87c865da
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 9 12:51:02 2011 +0000

    Editor-malfunction

diff --git a/lib/libvmod_std/vmod_std_fileread.c b/lib/libvmod_std/vmod_std_fileread.c
index 8ab7b70..9171a4b 100644
--- a/lib/libvmod_std/vmod_std_fileread.c
+++ b/lib/libvmod_std/vmod_std_fileread.c
@@ -125,7 +125,7 @@ vmod_fileread(struct sess *sp, struct vmod_priv *priv, const char *file_name)
 	if ((fd = open(file_name, O_RDONLY)) == -1)
 		return "";
 
-	AZ(fstat(fd, &buf)i);
+	AZ(fstat(fd, &buf));
 
 	AZ(pthread_rwlock_wrlock(&filelist_lock));
 



More information about the varnish-commit mailing list