From: Fabian Keil Date: Fri, 8 Jun 2012 15:09:06 +0000 (+0000) Subject: Let load_one_actions_file() use ssplit() like every other function X-Git-Tag: v_3_0_20~328 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=80a50f132c675003d47c4a97a75aae4a47af0903;p=privoxy.git Let load_one_actions_file() use ssplit() like every other function It doesn't matter whether or not ignore_leading is enabled. --- diff --git a/actions.c b/actions.c index 866d6233..1eddb068 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.80 2012/03/09 17:56:21 fabiankeil Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.81 2012/03/09 18:06:13 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/actions.c,v $ @@ -1400,7 +1400,7 @@ static int load_one_actions_file(struct client_state *csp, int fileid) return 1; /* never get here */ } - num_fields = ssplit(version_string, ".", fields, SZ(fields), TRUE, FALSE); + num_fields = ssplit(version_string, ".", fields, SZ(fields), 1, 1); if (num_fields < 1 || atoi(fields[0]) == 0) {