Navigation


Changeset 1084:6b7966ea27fb in freeDiameter


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

Files:
4 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 */
  • libfdproto/messages.c

    r1078 r1084  
    721721{
    722722        int ret = 0;
    723         char buftime[256];
    724         size_t tsoffset = 0;
    725         struct tm tm;
    726723       
    727724        CHECK_FCT( dump_add_str(outstr, offset, outlen, "%*sMSG: %p|", INOBJHDRVAL, msg) );
  • libfdproto/utils.c

    r1080 r1084  
    4444                        snprintf(buf, bufsize, "%s", gai_strerror(rc));
    4545                else
    46                         snprintf(buf, bufsize, "%s", &__addrbuf[0]);
     46                        snprintf(buf, bufsize, "%s", &addrbuf[0]);
    4747        } else {
    4848                snprintf(buf, bufsize, "(NULL / ANY)");
     
    6060                        snprintf(buf, bufsize, "%s", gai_strerror(rc));
    6161                else
    62                         snprintf(buf, bufsize, "%s", &__addrbuf[0]);
     62                        snprintf(buf, bufsize, "%s", &addrbuf[0]);
    6363        } else {
    6464                snprintf(buf, bufsize, "(NULL / ANY)");
Note: See TracChangeset for help on using the changeset viewer.