From 855f19f3ed0af3ff5d9f67a3fbc1acd2c1a4d053 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 21 Aug 2008 17:19:44 +0200 Subject: [PATCH] src/plugin.c: Fix indentation. Change functions, that were indented using spaces, to *only* use spaces (instead of a mix of both, spaces and tabs) but leave all the rest, that is indented using tabs, as it is. Hope this is a good compromise between consistency and breaking patches for no good reason ;) --- src/plugin.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/plugin.c b/src/plugin.c index b3feb17a..2316c08c 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -677,7 +677,7 @@ int plugin_flush (const char *plugin, int timeout, const char *identifier) while (le != NULL) { if ((plugin != NULL) - && (strcmp (plugin, le->key) != 0)) + && (strcmp (plugin, le->key) != 0)) { le = le->next; continue; @@ -873,9 +873,9 @@ const data_set_t *plugin_get_ds (const char *name) } /* data_set_t *plugin_get_ds */ static int plugin_notification_meta_add (notification_t *n, - const char *name, - enum notification_meta_type_e type, - const void *value) + const char *name, + enum notification_meta_type_e type, + const void *value) { notification_meta_t *meta; notification_meta_t *tail; @@ -1000,19 +1000,19 @@ int plugin_notification_meta_copy (notification_t *dst, { if (meta->type == NM_TYPE_STRING) plugin_notification_meta_add_string (dst, meta->name, - meta->value_string); + meta->value_string); else if (meta->type == NM_TYPE_SIGNED_INT) plugin_notification_meta_add_signed_int (dst, meta->name, - meta->value_signed_int); + meta->value_signed_int); else if (meta->type == NM_TYPE_UNSIGNED_INT) plugin_notification_meta_add_unsigned_int (dst, meta->name, - meta->value_unsigned_int); + meta->value_unsigned_int); else if (meta->type == NM_TYPE_DOUBLE) plugin_notification_meta_add_double (dst, meta->name, - meta->value_double); + meta->value_double); else if (meta->type == NM_TYPE_BOOLEAN) plugin_notification_meta_add_boolean (dst, meta->name, - meta->value_boolean); + meta->value_boolean); } return (0); -- 2.11.0