Explorar el Código

remove apparently pointless resetting of recent message count

past this point, it's not used for anything anyway.
Oswald Buddenhagen hace 11 años
padre
commit
8844ff3063
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/drv_maildir.c

+ 0 - 1
src/drv_maildir.c

@@ -1056,7 +1056,6 @@ maildir_rescan( maildir_store_t *ctx )
 
 	if (maildir_scan( ctx, &msglist ) != DRV_OK)
 		return DRV_BOX_BAD;
-	ctx->gen.recent = 0;
 	for (msgapp = &ctx->gen.msgs, i = 0;
 	     (msg = (maildir_message_t *)*msgapp) || i < msglist.nents; )
 	{