diff --git a/src/agents/store/mail.c b/src/agents/store/mail.c index 90db6a3..d691199 100644 --- a/src/agents/store/mail.c +++ b/src/agents/store/mail.c @@ -54,6 +54,7 @@ StoreProcessIncomingMail(StoreClient *client, StoreObject *document, const char *path) { + Connection *spipe = NULL; StoreObject conversation; StoreConversationData conversation_data; struct wanted_header *headers = header_list; @@ -169,7 +170,6 @@ StoreProcessIncomingMail(StoreClient *client, waitpid(childpid, NULL, 0); int nbytes; - Connection *spipe = NULL; spipe = ConnAlloc(TRUE); if (!spipe) { goto finish;