Backed out changeset 33b2fa2368e6, re-enable XER content in Sync message body in DEBUG mode
authorEdouard Tisserant <edouard@pep-project.org>
Fri, 12 May 2017 11:43:45 +0200
changeset 17793f94129d4f10
parent 1778 cc8e55efa24a
child 1781 bf2480adf5f2
Backed out changeset 33b2fa2368e6, re-enable XER content in Sync message body in DEBUG mode
src/sync_impl.c
     1.1 --- a/src/sync_impl.c	Fri May 12 10:59:31 2017 +0200
     1.2 +++ b/src/sync_impl.c	Fri May 12 11:43:45 2017 +0200
     1.3 @@ -727,7 +727,7 @@
     1.4  }
     1.5  
     1.6  
     1.7 -#ifdef DEBUG_SYNC_XER_IN_MESSAGE_BODY
     1.8 +#ifndef NDEBUG
     1.9  static int _append(const void *buffer, size_t size, void *appkey)
    1.10  {
    1.11      char **dest_ptr = (char **)appkey;
    1.12 @@ -823,7 +823,7 @@
    1.13      free_identity(me);
    1.14      me = NULL;
    1.15  
    1.16 -#ifdef DEBUG_SYNC_XER_IN_MESSAGE_BODY
    1.17 +#ifndef NDEBUG
    1.18      asn_enc_rval_t er;
    1.19      er = xer_encode(&asn_DEF_DeviceGroup_Protocol, msg, 
    1.20                      XER_F_BASIC, _append, &_message->longmsg);