BAD... force_v_1 flag vs. boolean. Meh. Fixed.
authorKrista Bennett <krista@pep-project.org>
Wed, 27 Jun 2018 16:46:12 +0200
changeset 2774d012b3cbfa60
parent 2772 737047e3763c
child 2775 a513ca50bcd9
BAD... force_v_1 flag vs. boolean. Meh. Fixed.
src/message_api.c
     1.1 --- a/src/message_api.c	Wed Jun 27 00:54:17 2018 +0200
     1.2 +++ b/src/message_api.c	Wed Jun 27 16:46:12 2018 +0200
     1.3 @@ -1803,7 +1803,7 @@
     1.4      }
     1.5      else {
     1.6          // FIXME - we need to deal with transport types (via flag)
     1.7 -        if ((!PEP_encrypt_flag_force_version_1) && ((max_comm_type | PEP_ct_confirmed) == PEP_ct_pEp)) {
     1.8 +        if ((!force_v_1) && ((max_comm_type | PEP_ct_confirmed) == PEP_ct_pEp)) {
     1.9              _src = wrap_message_as_attachment(NULL, src, false);
    1.10              if (!_src)
    1.11                  goto pep_error;