summaryrefslogtreecommitdiffstats
path: root/src/lib/event_config.c
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-15 19:47:02 +0100
committerKarel Klic <kklic@redhat.com>2011-03-15 19:47:02 +0100
commitc3d3da9b729542a2b9c75237878693e956ef7896 (patch)
tree5cfb3cbdb43223031c67aeb653e2f263f3bd55d6 /src/lib/event_config.c
parente1bb00559e0b4a77aa7c1c5ae96fd06a79ab3d27 (diff)
parent92ab44176a7702533b4ab065af9745781c51c5bb (diff)
downloadabrt-c3d3da9b729542a2b9c75237878693e956ef7896.tar.gz
abrt-c3d3da9b729542a2b9c75237878693e956ef7896.tar.xz
abrt-c3d3da9b729542a2b9c75237878693e956ef7896.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/lib/event_config.c')
-rw-r--r--src/lib/event_config.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/lib/event_config.c b/src/lib/event_config.c
index 5532710a..6207f721 100644
--- a/src/lib/event_config.c
+++ b/src/lib/event_config.c
@@ -1,3 +1,21 @@
+/*
+ Copyright (C) 2011 ABRT Team
+ Copyright (C) 2011 RedHat inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
#include "abrtlib.h"
GHashTable *g_event_config_list;
@@ -48,7 +66,7 @@ static int cmp_event_option_name_with_string(gconstpointer a, gconstpointer b)
event_option_t *get_event_option_from_list(const char *name, GList *options)
{
GList *elem = g_list_find_custom(options, name, &cmp_event_option_name_with_string);
- if(elem)
+ if (elem)
return (event_option_t *)elem->data;
return NULL;
}