- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip/src/pjsip/sip_transport_tcp.c
r5200 r5513 165 165 pj_strerror(status, errmsg, sizeof(errmsg)); 166 166 167 PJ_LOG( 1,(sender, "%s: %s [code=%d]", title, errmsg, status));167 PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status)); 168 168 } 169 169 … … 252 252 ) 253 253 { 254 enum { INFO_LEN = 100 }; 255 char local_addr[PJ_INET6_ADDRSTRLEN+10]; 254 256 pj_pool_t *pool; 255 257 pj_sock_t sock = PJ_INVALID_SOCKET; … … 475 477 #endif 476 478 479 /* Set transport info. */ 480 if (listener->factory.info == NULL) { 481 listener->factory.info = (char*) pj_pool_alloc(listener->factory.pool, 482 INFO_LEN); 483 } 484 pj_sockaddr_print(listener_addr, local_addr, sizeof(local_addr), 3); 485 pj_ansi_snprintf( 486 listener->factory.info, INFO_LEN, "tcp %s [published as %.*s:%d]", 487 local_addr, 488 (int)listener->factory.addr_name.host.slen, 489 listener->factory.addr_name.host.ptr, 490 listener->factory.addr_name.port); 491 477 492 if (has_listener) { 478 493 PJ_LOG(4,(listener->factory.obj_name, … … 714 729 tcp->base.do_shutdown = &tcp_shutdown; 715 730 tcp->base.destroy = &tcp_destroy_transport; 731 tcp->base.factory = &listener->factory; 716 732 717 733 /* Create group lock */
Note: See TracChangeset
for help on using the changeset viewer.