[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-list.c,1.17,1.18

cras at procontrol.fi cras at procontrol.fi
Thu May 8 08:07:01 EEST 2003


Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory danu:/tmp/cvs-serv14160/lib-storage/index/mbox

Modified Files:
	mbox-list.c 
Log Message:
Crashfix



Index: mbox-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-list.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- mbox-list.c	9 Mar 2003 10:03:35 -0000	1.17
+++ mbox-list.c	8 May 2003 04:06:59 -0000	1.18
@@ -330,7 +330,7 @@
 {
 	struct stat st;
 
-	if (ctx->dir->virtual_path != NULL)
+	if (ctx->dir != NULL && ctx->dir->virtual_path != NULL)
 		ctx->next = mbox_list_path;
 	else
 		ctx->next = mbox_list_next;




More information about the dovecot-cvs mailing list