mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 19:11:12 +08:00
13 lines
264 B
Diff
13 lines
264 B
Diff
--- a/src/apinger.c
|
|
+++ b/src/apinger.c
|
|
@@ -860,6 +860,9 @@ char *buf1,*buf2;
|
|
a=al->alarm;
|
|
if(config->status_format){
|
|
fprintf(f,"%s",a->name);
|
|
+ if(al->next){
|
|
+ fprintf(f,",");
|
|
+ }
|
|
}
|
|
else{
|
|
fprintf(f," \"%s\"",a->name);
|