[dovecot/core] 36a052: doveadm: Code cleanup - always use const char *con...

GitHub noreply at github.com
Tue Mar 29 11:59:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 36a052b7bd94ccb47abbb6b15c1380f03780ba20
      https://github.com/dovecot/core/commit/36a052b7bd94ccb47abbb6b15c1380f03780ba20
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M src/doveadm/client-connection.c
    M src/doveadm/doveadm-cmd.c
    M src/doveadm/doveadm-cmd.h
    M src/doveadm/doveadm.c

  Log Message:
  -----------
  doveadm: Code cleanup - always use const char *const[] type for argv.

Needed to fix compiler warnings in the following patch.


  Commit: 6a8c95b0693c93601e948e06bfe1f89abdd43307
      https://github.com/dovecot/core/commit/6a8c95b0693c93601e948e06bfe1f89abdd43307
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M src/doveadm/client-connection.c
    M src/doveadm/doveadm-cmd.c
    M src/doveadm/doveadm-cmd.h
    M src/doveadm/doveadm-mail-batch.c

  Log Message:
  -----------
  doveadm-server: Fixed running multi-word commands.

The problem with for example "mailbox status" command is that:
 - doveadm cli: argv[0] = "mailbox", argv[1] = "status"
 - doveadm-server: argv[0] = "mailbox status"

So with doveadm cli we'll now instead just skip over words until argv[0]
is the last word of the command ("status").


  Commit: 32e1486f96dbbfadbf47aeb4c57e596ba5548078
      https://github.com/dovecot/core/commit/32e1486f96dbbfadbf47aeb4c57e596ba5548078
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M src/doveadm/doveadm-mail.c

  Log Message:
  -----------
  doveadm-server: v2 mail commands weren't doing a userdb lookup.


  Commit: edbc6fe7fd5aaac2d0526bd1c688ceb0189349d5
      https://github.com/dovecot/core/commit/edbc6fe7fd5aaac2d0526bd1c688ceb0189349d5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M src/doveadm/doveadm-mail.c

  Log Message:
  -----------
  doveadm: Fixed adding username header to commands iterating through multiple users.


Compare: https://github.com/dovecot/core/compare/cbaac1e9a690...edbc6fe7fd5a


More information about the dovecot-cvs mailing list