From a80dafafb66547a9be162f3d4869cd1579f0a925 Mon Sep 17 00:00:00 2001 From: SJ Date: Mon, 22 Apr 2013 22:28:01 +0200 Subject: [PATCH] added memcached support to pilerimport --- src/pilerimport.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pilerimport.c b/src/pilerimport.c index f751e735..32355a7f 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -542,6 +542,10 @@ int main(int argc, char **argv){ (void) openlog("pilerimport", LOG_PID, LOG_MAIL); +#ifdef HAVE_MEMCACHED + memcached_init(&(data.memc), cfg.memcached_servers, 11211); +#endif + if(folder){ data.folder = get_folder_id(&sdata, &data, folder, 0);