projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d89e467
)
Let any_loaded_file_changed() check the trustfile as well
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 13 Jan 2013 15:38:14 +0000
(15:38 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 13 Jan 2013 15:38:14 +0000
(15:38 +0000)
loaders.c
patch
|
blob
|
history
diff --git
a/loaders.c
b/loaders.c
index
ae4f9c0
..
2a42b0d
100644
(file)
--- a/
loaders.c
+++ b/
loaders.c
@@
-1,4
+1,4
@@
-const char loaders_rcs[] = "$Id: loaders.c,v 1.9
3 2012/10/21 12:53:33
fabiankeil Exp $";
+const char loaders_rcs[] = "$Id: loaders.c,v 1.9
4 2012/12/07 12:43:05
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
@@
-1480,6
+1480,16
@@
int any_loaded_file_changed(const struct client_state *csp)
}
}
}
}
+#ifdef FEATURE_TRUST
+ if (csp->tlist)
+ {
+ if (file_has_been_modified(csp->tlist->filename, csp->tlist->lastmodified))
+ {
+ return TRUE;
+ }
+ }
+#endif /* def FEATURE_TRUST */
+
return FALSE;
}
return FALSE;
}