31 lines
923 B
Diff
31 lines
923 B
Diff
|
diff -uprk.orig ccze-0.2.1.orig/src/ccze.c ccze-0.2.1/src/ccze.c
|
||
|
--- ccze-0.2.1.orig/src/ccze.c 2003-05-13 22:09:30 +0400
|
||
|
+++ ccze-0.2.1/src/ccze.c 2004-05-19 20:21:02 +0400
|
||
|
@@ -209,7 +209,7 @@ parse_opt (int key, char *arg, struct ar
|
||
|
}
|
||
|
break;
|
||
|
case 'a':
|
||
|
- plugin = strtok (optarg, "=");
|
||
|
+ plugin = strtok (arg, "=");
|
||
|
value = strtok (NULL, "\n");
|
||
|
ccze_plugin_argv_set (plugin, value);
|
||
|
break;
|
||
|
@@ -249,7 +249,7 @@ parse_opt (int key, char *arg, struct ar
|
||
|
ccze_config.remfac = 1;
|
||
|
break;
|
||
|
case 'm':
|
||
|
- subopts = optarg;
|
||
|
+ subopts = arg;
|
||
|
while (*subopts != '\0')
|
||
|
{
|
||
|
switch (getsubopt (&subopts, m_subopts, &value))
|
||
|
@@ -273,7 +273,7 @@ parse_opt (int key, char *arg, struct ar
|
||
|
}
|
||
|
break;
|
||
|
case 'o':
|
||
|
- subopts = optarg;
|
||
|
+ subopts = arg;
|
||
|
while (*subopts != '\0')
|
||
|
{
|
||
|
switch (getsubopt (&subopts, o_subopts, &value))
|