-const char loaders_rcs[] = "$Id: loaders.c,v 1.76 2010/07/21 14:35:09 fabiankeil Exp $";
+const char loaders_rcs[] = "$Id: loaders.c,v 1.79 2011/01/14 19:47:16 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
if (strlen(buf2) + 1U > buflen)
{
log_error(LOG_LEVEL_FATAL,
- "Max line limit reached. Linenumber: %u. Lenght: %u. Max lenght: %u.",
+ "Max line limit reached. Linenumber: %u. Length: %u. Max length: %u.",
*linenum, strlen(buf2), buflen-1);
}
strlcpy(buf, buf2, buflen);
if (!check_file_changed(current_trustfile, csp->config->trustfile, &fs))
{
/* No need to load */
- if (csp)
- {
- csp->tlist = current_trustfile;
- }
+ csp->tlist = current_trustfile;
return(0);
}
if (!fs)
{
if (file_has_been_modified(file_to_check->filename, file_to_check->lastmodified))
{
- log_error(LOG_LEVEL_INFO, "%s has been changed", file_to_check->filename);
+ log_error(LOG_LEVEL_INFO,
+ "File modification detected: %s", file_to_check->filename);
return TRUE;
}
file_to_check = file_to_check->next;