lib/vpwentry/to.cc
changeset 2 b3afb9f1e801
parent 0 6f7a81934006
equal deleted inserted replaced
1:30113bfbe723 2:b3afb9f1e801
    25   
    25   
    26   mystring f;
    26   mystring f;
    27   if(!!forwards)
    27   if(!!forwards)
    28     f = forwards + mystring::NUL;
    28     f = forwards + mystring::NUL;
    29   char flagstmp[] = {
    29   char flagstmp[] = {
       
    30     vdomain::ATTR_HAS_MAILBOX,
       
    31     has_mailbox && !!directory,
    30     vdomain::ATTR_MAILBOX_ENABLED,
    32     vdomain::ATTR_MAILBOX_ENABLED,
    31     is_mailbox_enabled,
    33     is_mailbox_enabled,
    32     0
    34     0
    33   };
    35   };
    34   mystring flags(flagstmp, 3);
    36   mystring flags(flagstmp, 5);
    35   return prefix + flags + pass + mystring::NUL +
    37   return prefix + flags + pass + mystring::NUL +
    36     mailbox + mystring::NUL +
    38     directory + mystring::NUL +
    37     f + mystring::NUL +
    39     f + mystring::NUL +
    38     personal + mystring::NUL +
    40     personal + mystring::NUL +
    39     utoa(hardquota) + mystring::NUL +
    41     utoa(hardquota) + mystring::NUL +
    40     utoa(softquota) + mystring::NUL +
    42     utoa(softquota) + mystring::NUL +
    41     utoa(msgsize) + mystring::NUL +
    43     utoa(msgsize) + mystring::NUL +