summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2aaabc7)
raw | patch | inline | side by side (parent: 2aaabc7)
author | Florian Forster <octo@noris.net> | |
Thu, 21 Aug 2008 15:19:44 +0000 (17:19 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Thu, 21 Aug 2008 15:19:44 +0000 (17:19 +0200) |
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 ;)
(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 | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index b3feb17a6f59cbf83180dc13117088c54654a2c8..2316c08cb2e9f9d07a96f6aaaeb1c1f0627bbc6b 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
while (le != NULL)
{
if ((plugin != NULL)
- && (strcmp (plugin, le->key) != 0))
+ && (strcmp (plugin, le->key) != 0))
{
le = le->next;
continue;
} /* 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;
{
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);