Navigation


Changeset 1084:6b7966ea27fb in freeDiameter for libfdcore


Ignore:
Timestamp:
May 3, 2013, 4:33:57 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a few compilation issues

Location:
libfdcore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/cnxctx.c

    r1078 r1084  
    923923int fd_tls_rcvthr_core(struct cnxctx * conn, gnutls_session_t session)
    924924{
    925 #ifndef DISABLE_SCTP
    926         void * ptr = gnutls_transport_get_ptr(session);
    927         if (ptr != conn) {
    928                 struct sctps_ctx * ctx = (struct sctps_ctx *) ptr;
    929         }
    930 #endif /* DISABLE_SCTP */
    931        
    932        
    933925        /* No guarantee that GnuTLS preserves the message boundaries, so we re-build it as in TCP */
    934926        do {
  • libfdcore/p_out.c

    r1078 r1084  
    4545        int ret;
    4646        uint32_t bkp_hbh = 0;
    47         struct msg * cpy_for_logs_only;
    4847       
    4948        TRACE_ENTRY("%p %x %p %p %p", msg, flags, cnx, hbh, srl);
     
    6564        pthread_cleanup_push( free, buf );
    6665       
    67         cpy_for_logs_only = *msg;
     66        // cpy_for_logs_only = *msg;
    6867       
    6968        /* Save a request before sending so that there is no race condition with the answer */
Note: See TracChangeset for help on using the changeset viewer.