diff options
Diffstat (limited to 'net/apinger/patches')
-rw-r--r-- | net/apinger/patches/060-format-alarm-list.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/apinger/patches/060-format-alarm-list.patch b/net/apinger/patches/060-format-alarm-list.patch new file mode 100644 index 000000000..815202f3b --- /dev/null +++ b/net/apinger/patches/060-format-alarm-list.patch @@ -0,0 +1,12 @@ +--- 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); |