aboutsummaryrefslogtreecommitdiffstats
path: root/filters.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2002-08-28 21:04:11 +0000
committerJörg Mayer <jmayer@loplof.de>2002-08-28 21:04:11 +0000
commit7c4176d8688d6642026d3d322570663c9655c7db (patch)
treefb24347c14c65d6b8d7f7e93e4060abbb7217e0c /filters.c
parent48be4e530d6635dbf1ef1dafa984c2060f3caa8a (diff)
Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
Diffstat (limited to 'filters.c')
-rw-r--r--filters.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/filters.c b/filters.c
index 5aaaeb0407..07d72b03c5 100644
--- a/filters.c
+++ b/filters.c
@@ -1,22 +1,22 @@
/* filters.c
* Code for reading and writing the filters file.
*
- * $Id: filters.c,v 1.14 2002/01/21 07:36:31 guy Exp $
+ * $Id: filters.c,v 1.15 2002/08/28 21:00:06 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
- *
+ *
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -247,7 +247,7 @@ read_filter_list(filter_list_type_t list, char **pref_path_return,
line);
continue;
}
-
+
/* Skip over separating white space, if any. */
while ((c = getc(ff)) != EOF && isspace(c)) {
if (c == '\n')
@@ -354,7 +354,7 @@ GList *
get_filter_list_first(filter_list_type_t list)
{
GList **flp;
-
+
flp = get_filter_list(list);
return g_list_first(*flp);
}
@@ -368,7 +368,7 @@ add_to_filter_list(filter_list_type_t list, char *name, char *expression)
{
GList **flp;
filter_def *filt;
-
+
flp = get_filter_list(list);
filt = (filter_def *) g_malloc(sizeof(filter_def));
filt->name = g_strdup(name);
@@ -385,7 +385,7 @@ remove_from_filter_list(filter_list_type_t list, GList *fl_entry)
{
GList **flp;
filter_def *filt;
-
+
flp = get_filter_list(list);
filt = (filter_def *) fl_entry->data;
g_free(filt->name);
@@ -412,7 +412,7 @@ save_filter_list(filter_list_type_t list, char **pref_path_return,
filter_def *filt;
FILE *ff;
guchar *p, c;
-
+
*pref_path_return = NULL; /* assume no error */
switch (list) {