From 50835aa2038a850fce1fecb25e06a4de9a331caf Mon Sep 17 00:00:00 2001 From: pfelt Date: Sat, 11 Jun 2011 20:08:37 +0000 Subject: [PATCH] -- fixed the uninitialized spipe error --- src/agents/store/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;