|
@@ -148,7 +148,7 @@ void update_sl_stats(int code)
|
|
|
|
|
|
my_stats = &(*sl_stats)[process_no];
|
|
|
|
|
|
- if(code >= 700 || code < 200) {
|
|
|
+ if(code >= 700 || code < 100) {
|
|
|
my_stats->err[RT_xxx]++;
|
|
|
} else if(code >= 600) {
|
|
|
my_stats->err[RT_6xx]++;
|
|
@@ -203,7 +203,7 @@ void update_sl_stats(int code)
|
|
|
my_stats->err[RT_3xx]++;
|
|
|
break;
|
|
|
}
|
|
|
- } else { /* 2xx */
|
|
|
+ } else if(code >= 200) {
|
|
|
switch(code) {
|
|
|
case 200:
|
|
|
my_stats->err[RT_200]++;
|
|
@@ -215,6 +215,8 @@ void update_sl_stats(int code)
|
|
|
my_stats->err[RT_2xx]++;
|
|
|
break;
|
|
|
}
|
|
|
+ } else { /* 1xx */
|
|
|
+ my_stats->err[RT_1xx]++;
|
|
|
}
|
|
|
}
|
|
|
|