[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mailbox stream
From: |
Sergey Poznyakoff |
Subject: |
mailbox stream |
Date: |
Fri, 01 Jun 2001 17:56:53 +0300 |
There seems to be an inconsistency in handling of mailbox->stream
member between mailbox.c and mbx_mbox.c, mbx_mboxscan.c. For example,
if one calls mailbox_set_stream(mbx, stream), the stream is associated
with the mailbox folder, i.e. mbx->folder->stream, whereas all
functions in mbx_mbox.c, mbx_mboxscan.c operate on mbx->stream
directly. This effectively makes mailbox_set_stream() useless.
I suppose the functions in mbx_mbox*.c should obtain stream pointer
via mailbox_get_stream instead of directly accessing mailbox->stream.
Am I missing something?
Cheers,
Sergey
- mailbox stream,
Sergey Poznyakoff <=