You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/ccze/files/ccze-segfault.patch

30 lines
660 B

--- a/src/ccze.c
+++ b/src/ccze.c
@@ -209,7 +209,7 @@
}
break;
case 'a':
- plugin = strtok (optarg, "=");
+ plugin = strtok (arg, "=");
value = strtok (NULL, "\n");
ccze_plugin_argv_set (plugin, value);
break;
@@ -249,7 +249,7 @@
ccze_config.remfac = 1;
break;
case 'm':
- subopts = optarg;
+ subopts = arg;
while (*subopts != '\0')
{
switch (getsubopt (&subopts, m_subopts, &value))
@@ -273,7 +273,7 @@
}
break;
case 'o':
- subopts = optarg;
+ subopts = arg;
while (*subopts != '\0')
{
switch (getsubopt (&subopts, o_subopts, &value))