sstrncpy (vl.type, "bytes", sizeof (vl.type));
plugin_dispatch_values (&vl);
-} /* void qmail_submit */
+} /* void fc_submit_dir */
/*
* Config:
char *ptr;
char *copy;
- strncpy (buffer, str, sizeof (buffer));
+ sstrncpy (buffer, str, sizeof (buffer));
for (ptr = buffer; *ptr != 0; ptr++)
if (*ptr == '/')
- *ptr = '-';
+ *ptr = '_';
- for (ptr = buffer; *ptr == '-'; ptr++)
+ for (ptr = buffer; *ptr == '_'; ptr++)
/* do nothing */;
if (*ptr == 0)
dir->mtime = 0;
dir->size = 0;
+ status = 0;
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
- status = 0;
if (strcasecmp ("Instance", option->key) == 0)
status = fc_config_add_dir_instance (dir, option);
} /* for (ci->children) */
return (0);
-} /* int qmail_config */
+} /* int fc_config */
static int fc_init (void)
{