added tagging the search results

This commit is contained in:
SJ
2012-03-10 14:52:50 +01:00
parent ee9c2af1b2
commit 99848614e8
13 changed files with 163 additions and 16 deletions

View File

@ -311,6 +311,8 @@ int main(int argc, char **argv){
regfree(&regexp);
(void) openlog("pilerexport", LOG_PID, LOG_MAIL);
snprintf(s, sizeof(s)-1, "SELECT DISTINCT `id`, `piler_id`, `digest`, `bodydigest` FROM %s WHERE ", SQL_MESSAGES_VIEW);

View File

@ -214,6 +214,7 @@ int main(int argc, char **argv){
if(!mailbox && !emlfile && !directory) usage();
(void) openlog("pilerimport", LOG_PID, LOG_MAIL);
cfg = read_config(configfile);