* </Instance>
* URL ...
* </Plugin>
- */
+ */
static int config_set_string (char **ret_string,
oconfig_item_t *ci)
{
char *string;
if ((ci->values_num != 1)
- || (ci->values[0].type != OCONFIG_TYPE_STRING))
- {
- WARNING ("apache plugin: The `%s' config option "
- "needs exactly one string argument.", ci->key);
- return (-1);
- }
+ || (ci->values[0].type != OCONFIG_TYPE_STRING))
+ {
+ WARNING ("apache plugin: The `%s' config option "
+ "needs exactly one string argument.", ci->key);
+ return (-1);
+ }
string = strdup (ci->values[0].value.string);
if (string == NULL)