comparison freeDiameter/cnxctx.c @ 211:929513df9024

Add a debug message
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 16 Feb 2010 16:48:52 +0900
parents b9f48f2f2a22
children 5a1b93f59f8f
comparison
equal deleted inserted replaced
210:2b5027949f85 211:929513df9024
496 void fd_cnx_markerror(struct cnxctx * conn) 496 void fd_cnx_markerror(struct cnxctx * conn)
497 { 497 {
498 TRACE_ENTRY("%p", conn); 498 TRACE_ENTRY("%p", conn);
499 CHECK_PARAMS_DO( conn, goto fatal ); 499 CHECK_PARAMS_DO( conn, goto fatal );
500 500
501 TRACE_DEBUG(FULL, "Connection (%d) CC_STATUS_ERROR set", conn->cc_socket);
502
501 /* Mark the error */ 503 /* Mark the error */
502 conn->cc_status |= CC_STATUS_ERROR; 504 conn->cc_status |= CC_STATUS_ERROR;
503 505
504 /* Report the error if not reported yet, and not closing */ 506 /* Report the error if not reported yet, and not closing */
505 if ((!(conn->cc_status & CC_STATUS_CLOSING )) && (!(conn->cc_status & CC_STATUS_SIGNALED ))) { 507 if ((!(conn->cc_status & CC_STATUS_CLOSING )) && (!(conn->cc_status & CC_STATUS_SIGNALED ))) {
"Welcome to our mercurial repository"