[dovecot/core] e0bd5e: lib: istream-base64-decoder - use stream_errno=EPI...

GitHub noreply at github.com
Fri Dec 23 18:30:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: e0bd5e662367e8c53c65ee3ad1252dd9469784cf
      https://github.com/dovecot/core/commit/e0bd5e662367e8c53c65ee3ad1252dd9469784cf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib/istream-base64-decoder.c
    M src/lib/test-istream-base64-decoder.c

  Log Message:
  -----------
  lib: istream-base64-decoder - use stream_errno=EPIPE for unexpected EOF


  Commit: 076c46c6513161e2c7bbe53d421b0830e9975fb1
      https://github.com/dovecot/core/commit/076c46c6513161e2c7bbe53d421b0830e9975fb1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib/istream-jsonstr.c

  Log Message:
  -----------
  lib: istream-jsonstr - minor code cleanup

If ret==0 here, it means dest wasn't changed, which must mean that i==0.
Make it clear to avoid confusion.


  Commit: ddf9529d37056f8817825f6265c27d8070123013
      https://github.com/dovecot/core/commit/ddf9529d37056f8817825f6265c27d8070123013
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib/Makefile.am
    A src/lib/test-istream-jsonstr.c
    M src/lib/test-lib.inc

  Log Message:
  -----------
  lib: Add istream-jsonstr unit test.


  Commit: 1547bafeb11368eb80168fe2899283e8bdcb8528
      https://github.com/dovecot/core/commit/1547bafeb11368eb80168fe2899283e8bdcb8528
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib/istream-jsonstr.c
    M src/lib/test-istream-jsonstr.c

  Log Message:
  -----------
  lib: istream-jsonstr - return EPIPE if end-of-string quote isn't seen


Compare: https://github.com/dovecot/core/compare/baf3e87e1864...1547bafeb113


More information about the dovecot-cvs mailing list