ports/irc/ircII/files/patch-source_help.c
Christoph Moench-Tegeder 83b331ae55 update irc/ircII to 20190117
PR:		238176
Approved by:	maintainer (andrew at tao11 dot riddles dot org dot uk)
2019-06-06 21:42:23 +00:00

11 lines
409 B
C

--- source/help.c.orig 2019-05-29 09:55:50 UTC
+++ source/help.c
@@ -311,7 +311,7 @@ help_topic(u_char *path, u_char *name)
#ifdef ZCAT
if (my_strcmp(name + (my_strlen(name) - my_strlen(ZSUFFIX)), ZSUFFIX))
{
- malloc_snprintf(&filename, "%s/%s%s", path, ZSUFFIX);
+ malloc_snprintf(&filename, "%s/%s%s", path, name, ZSUFFIX);
if (stat(CP(filename), &sb) == -1)
{
new_free(&filename);