}
opt_buff = new_buff;
int ret = ssnprintf(opt_buff + buff_off, buff_size - buff_off, option_fmt,
}
opt_buff = new_buff;
int ret = ssnprintf(opt_buff + buff_off, buff_size - buff_off, option_fmt,
/* fill the notification data */
ssnprintf(n.message, sizeof(n.message),
/* fill the notification data */
ssnprintf(n.message, sizeof(n.message),
- "link state of \"%s\" interface has been changed to \"%s\"",
- ifinfo->name, msg_link_status);
+ "link state of \"%s\" interface has been changed to \"%s\"",
+ ifinfo->name, msg_link_status);
sstrncpy(n.host, hostname_g, sizeof(n.host));
sstrncpy(n.plugin_instance, ifinfo->name, sizeof(n.plugin_instance));
sstrncpy(n.type, "gauge", sizeof(n.type));
sstrncpy(n.host, hostname_g, sizeof(n.host));
sstrncpy(n.plugin_instance, ifinfo->name, sizeof(n.plugin_instance));
sstrncpy(n.type, "gauge", sizeof(n.type));