Aaron Stone wrote:
Paul J Stevens <[EMAIL PROTECTED]> said:


Will do. I'll commit the transactional_inserts and is_header patches on the 2.0 branch.


In pipe.c, I see the places where db_insert_message_block is called, there
is a '0' or '1' at the end of the call, indicating is_header. Would you
mind making this into a constant, like HEADER and BODY, or IS_HEADER,
IS_BODY, NOT_HEADER, something like that?

done.

I've defined an enum in db.h:

enum {
        BODY_TYPE,
        HEAD_TYPE,
} blocktype;

and used that where ever db_insert_message_block or 
db_insert_message_block_physmessage is called.



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to