Changeset 1084:6b7966ea27fb in freeDiameter
- Timestamp:
- May 3, 2013, 4:33:57 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/cnxctx.c
r1078 r1084 923 923 int fd_tls_rcvthr_core(struct cnxctx * conn, gnutls_session_t session) 924 924 { 925 #ifndef DISABLE_SCTP926 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 933 925 /* No guarantee that GnuTLS preserves the message boundaries, so we re-build it as in TCP */ 934 926 do { -
libfdcore/p_out.c
r1078 r1084 45 45 int ret; 46 46 uint32_t bkp_hbh = 0; 47 struct msg * cpy_for_logs_only;48 47 49 48 TRACE_ENTRY("%p %x %p %p %p", msg, flags, cnx, hbh, srl); … … 65 64 pthread_cleanup_push( free, buf ); 66 65 67 cpy_for_logs_only = *msg;66 // cpy_for_logs_only = *msg; 68 67 69 68 /* Save a request before sending so that there is no race condition with the answer */ -
libfdproto/messages.c
r1078 r1084 721 721 { 722 722 int ret = 0; 723 char buftime[256];724 size_t tsoffset = 0;725 struct tm tm;726 723 727 724 CHECK_FCT( dump_add_str(outstr, offset, outlen, "%*sMSG: %p|", INOBJHDRVAL, msg) ); -
libfdproto/utils.c
r1080 r1084 44 44 snprintf(buf, bufsize, "%s", gai_strerror(rc)); 45 45 else 46 snprintf(buf, bufsize, "%s", & __addrbuf[0]);46 snprintf(buf, bufsize, "%s", &addrbuf[0]); 47 47 } else { 48 48 snprintf(buf, bufsize, "(NULL / ANY)"); … … 60 60 snprintf(buf, bufsize, "%s", gai_strerror(rc)); 61 61 else 62 snprintf(buf, bufsize, "%s", & __addrbuf[0]);62 snprintf(buf, bufsize, "%s", &addrbuf[0]); 63 63 } else { 64 64 snprintf(buf, bufsize, "(NULL / ANY)");
Note: See TracChangeset
for help on using the changeset viewer.