From: Fabian Keil Date: Wed, 29 Feb 2012 19:33:07 +0000 (+0000) Subject: Rename action_name's member takes_value to value_type as it isn't used as boolean X-Git-Tag: v_3_0_20~416 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/quickstart.html?a=commitdiff_plain;h=efb5bdd9dfb9f4e081fb5dedc53d5e64bc82d3e4;p=privoxy.git Rename action_name's member takes_value to value_type as it isn't used as boolean --- diff --git a/actions.c b/actions.c index cd8e8e71..82495714 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.76 2011/12/31 14:50:20 fabiankeil Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.77 2012/02/29 19:31:12 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/actions.c,v $ @@ -84,10 +84,10 @@ enum action_value_type { struct action_name { const char * name; - unsigned long mask; /* a bit set to "0" = remove action */ - unsigned long add; /* a bit set to "1" = add action */ - enum action_value_type takes_value; /* an AV_... constant */ - int index; /* index into strings[] or multi[] */ + unsigned long mask; /* a bit set to "0" = remove action */ + unsigned long add; /* a bit set to "1" = add action */ + enum action_value_type value_type; /* an AV_... constant */ + int index; /* index into strings[] or multi[] */ }; /* @@ -512,7 +512,7 @@ jb_err get_actions(char *line, cur_action->add &= action->mask; cur_action->add |= action->add; - switch (action->takes_value) + switch (action->value_type) { case AV_NONE: /* ignore any option. */