Browse code

bb #5816: mbox statics

David Raynor authored on 2012/09/19 04:28:18
Showing 1 changed files
... ...
@@ -300,6 +300,8 @@ static	const	struct tableinit {
300 300
 #ifdef	CL_THREAD_SAFE
301 301
 static	pthread_mutex_t	tables_mutex = PTHREAD_MUTEX_INITIALIZER;
302 302
 #endif
303
+static	table_t *rfc821 = NULL;
304
+static	table_t *subtype = NULL;
303 305
 
304 306
 int
305 307
 cli_mbox(const char *dir, cli_ctx *ctx)
... ...
@@ -333,7 +335,6 @@ cli_parse_mbox(const char *dir, cli_ctx *ctx)
333 333
 	message *body;
334 334
 	char buffer[RFC2821LENGTH + 1];
335 335
 	mbox_ctx mctx;
336
-	static table_t *rfc821, *subtype;
337 336
 	size_t at = 0;
338 337
 	fmap_t *map = *ctx->fmap;
339 338