Changeset 1027:0117a7746b21 in freeDiameter for libfdcore/sctps.c
- Timestamp:
- Apr 15, 2013, 4:17:07 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/sctps.c
r1021 r1027 95 95 CHECK_FCT_DO(fd_event_send(conn->cc_sctps_data.array[strid].raw_recv, event, bufsz, buf), goto fatal ); 96 96 } else { 97 TRACE_DEBUG(INFO, "Received packet (% d bytes) on out-of-range stream #%d from %s, discarded.", bufsz, strid, conn->cc_remid);97 TRACE_DEBUG(INFO, "Received packet (%zd bytes) on out-of-range stream #%d from %s, discarded.", bufsz, strid, conn->cc_remid); 98 98 free(buf); 99 99 } … … 230 230 231 231 /* Set the parameters of a session to use the appropriate fifo and stream information */ 232 #ifndef GNUTLS_VERSION_300 233 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 234 #endif /* !GNUTLS_VERSION_300 */ 232 235 static void set_sess_transport(gnutls_session_t session, struct sctps_ctx *ctx) 233 236 { … … 238 241 #ifndef GNUTLS_VERSION_300 239 242 /* starting version 2.12, this call is not needed */ 240 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"241 243 GNUTLS_TRACE( gnutls_transport_set_lowat( session, 0 ) ); 242 #pragma GCC diagnostic warning "-Wdeprecated-declarations"243 244 #endif /* GNUTLS_VERSION_300 */ 244 245 … … 249 250 return; 250 251 } 252 #ifndef GNUTLS_VERSION_300 253 # pragma GCC diagnostic pop "-Wdeprecated-declarations" 254 #endif /* !GNUTLS_VERSION_300 */ 251 255 252 256 /*************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.