Commit ba516000 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add missing assert

parent b8f4cd4d
...@@ -125,7 +125,7 @@ vmod_fileread(struct sess *sp, struct vmod_priv *priv, const char *file_name) ...@@ -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) if ((fd = open(file_name, O_RDONLY)) == -1)
return ""; return "";
fstat(fd, &buf); AZ(fstat(fd, &buf)i);
AZ(pthread_rwlock_wrlock(&filelist_lock)); AZ(pthread_rwlock_wrlock(&filelist_lock));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment