Browse Source

Move start/stop/expire debug messages to DBG2() level.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
8a268073a7
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      src/net/retry.c

+ 6
- 6
src/net/retry.c View File

69
 	timer->start = currticks();
69
 	timer->start = currticks();
70
 	if ( timer->timeout < MIN_TIMEOUT )
70
 	if ( timer->timeout < MIN_TIMEOUT )
71
 		timer->timeout = MIN_TIMEOUT;
71
 		timer->timeout = MIN_TIMEOUT;
72
-	DBG ( "Timer %p started at time %ld (expires at %ld)\n",
73
-	      timer, timer->start, ( timer->start + timer->timeout ) );
72
+	DBG2 ( "Timer %p started at time %ld (expires at %ld)\n",
73
+	       timer, timer->start, ( timer->start + timer->timeout ) );
74
 }
74
 }
75
 
75
 
76
 /**
76
 /**
92
 	list_del ( &timer->list );
92
 	list_del ( &timer->list );
93
 	runtime = ( now - timer->start );
93
 	runtime = ( now - timer->start );
94
 	timer->start = 0;
94
 	timer->start = 0;
95
-	DBG ( "Timer %p stopped at time %ld (ran for %ld)\n",
96
-	      timer, now, runtime );
95
+	DBG2 ( "Timer %p stopped at time %ld (ran for %ld)\n",
96
+	       timer, now, runtime );
97
 
97
 
98
 	/* Update timer.  Variables are:
98
 	/* Update timer.  Variables are:
99
 	 *
99
 	 *
131
 	int fail;
131
 	int fail;
132
 
132
 
133
 	/* Stop timer without performing RTT calculations */
133
 	/* Stop timer without performing RTT calculations */
134
-	DBG ( "Timer %p stopped at time %ld on expiry\n",
135
-	      timer, currticks() );
134
+	DBG2 ( "Timer %p stopped at time %ld on expiry\n",
135
+	       timer, currticks() );
136
 	list_del ( &timer->list );
136
 	list_del ( &timer->list );
137
 	timer->start = 0;
137
 	timer->start = 0;
138
 	timer->count++;
138
 	timer->count++;

Loading…
Cancel
Save