diff options
Diffstat (limited to 'pacredir.c')
-rw-r--r-- | pacredir.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -343,7 +343,8 @@ static int ahc_echo(void * cls, } /* process db file request */ - if (strlen(basename) > 3 && strcmp(basename + strlen(basename) - 3, ".db") == 0) { + if ((strlen(basename) > 3 && strcmp(basename + strlen(basename) - 3, ".db") == 0) || + (strlen(basename) > 6 && strcmp(basename + strlen(basename) - 6, ".files") == 0)) { dbfile = 1; /* get timestamp of local file */ filename = malloc(strlen(SYNCPATH) + strlen(basename) + 2); |