]>
Commit | Line | Data |
---|---|---|
b496b6e1 MK |
1 | diff -ur apinger-0.6.1.orig//src/apinger.c apinger-0.6.1/src/apinger.c |
2 | --- apinger-0.6.1.orig//src/apinger.c 2012-07-25 17:39:38.612064460 +0000 | |
3 | +++ apinger-0.6.1/src/apinger.c 2012-07-25 17:39:57.837251164 +0000 | |
4 | @@ -787,7 +787,6 @@ | |
5 | time_t tm; | |
6 | int i,qp,really_lost; | |
7 | char *buf1,*buf2; | |
8 | -int err=0; | |
9 | ||
10 | if (config->status_file==NULL) return; | |
11 | ||
12 | @@ -850,12 +849,10 @@ | |
13 | } | |
14 | } | |
15 | buf2[i]=0; | |
16 | - fprintf(f,"Received packets buffer: %s %s\n",buf2,buf1); | |
17 | if (t->recently_lost!=really_lost){ | |
18 | - fprintf(f," lost packet count mismatch (%i!=%i)!\n",t->recently_lost,really_lost); | |
19 | - logit("%s: Lost packet count mismatch (%i!=%i)!",t->name,t->recently_lost,really_lost); | |
20 | - logit("%s: Received packets buffer: %s %s\n",t->name,buf2,buf1); | |
21 | - err=1; | |
22 | + logit("Target \"%s\": Lost packet count mismatch (%i(recently_lost) != %i(really_lost))!",t->name,t->recently_lost,really_lost); | |
23 | + logit("Target \"%s\": Received packets buffer: %s %s\n",t->name,buf2,buf1); | |
24 | + t->recently_lost = really_lost = 0; | |
25 | } | |
26 | free(buf1); | |
27 | free(buf2); | |
28 | @@ -863,7 +860,6 @@ | |
29 | fprintf(f,"\n"); | |
30 | } | |
31 | fclose(f); | |
32 | - if (err) abort(); | |
33 | } | |
34 | ||
35 | #ifdef FORKED_RECEIVER |