Changeset 1198:8c4dd4b693c6 in freeDiameter for libfdcore/cnxctx.c
- Timestamp:
- Jun 13, 2013, 6:30:14 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/cnxctx.c
r1192 r1198 293 293 fd_sa_sdump_numeric(sa_buf, sa); 294 294 295 LOG_D("Connecting to TCP %s...", sa_buf); 296 295 297 /* Create the socket and connect, which can take some time and/or fail */ 296 298 { 297 299 int ret = fd_tcp_client( &sock, sa, addrlen ); 298 300 if (ret != 0) { 299 LOG_ A("TCP connection to %s failed: %s", sa_buf, strerror(ret));301 LOG_D("TCP connection to %s failed: %s", sa_buf, strerror(ret)); 300 302 return NULL; 301 303 } … … 348 350 fd_sa_sdump_numeric(sa_buf, &((struct fd_endpoint *)(list->next))->sa); 349 351 352 LOG_D("Connecting to SCTP %s:%hu...", sa_buf, port); 353 350 354 { 351 355 int ret = fd_sctp_client( &sock, no_ip6, port, list ); 352 356 if (ret != 0) { 353 LOG_ A("SCTP connection to [%s,...] failed: %s", sa_buf, strerror(ret));357 LOG_D("SCTP connection to [%s,...] failed: %s", sa_buf, strerror(ret)); 354 358 return NULL; 355 359 }
Note: See TracChangeset
for help on using the changeset viewer.