From 7f324d0e5524d503f10cbea6a80f366530a20dc5 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 13 Jan 2013 15:38:14 +0000 Subject: [PATCH] Let any_loaded_file_changed() check the trustfile as well --- loaders.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/loaders.c b/loaders.c index ae4f9c0c..2a42b0dd 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.93 2012/10/21 12:53:33 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.94 2012/12/07 12:43:05 fabiankeil Exp $"; /********************************************************************* * * 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; } -- 2.39.2