diff options
author | vanilla <vanilla@FreeBSD.org> | 2007-09-16 20:40:50 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2007-09-16 20:40:50 +0800 |
commit | 40b33d9f2b37c8e8dd2c387ebe579c2125f97897 (patch) | |
tree | 81ec779a4986429ab807d56f342442aba6193108 /irc/irssi | |
parent | c5e3285f3a376d63f626e5fb17539e4e86cf935c (diff) | |
download | freebsd-ports-graphics-40b33d9f2b37c8e8dd2c387ebe579c2125f97897.tar.gz freebsd-ports-graphics-40b33d9f2b37c8e8dd2c387ebe579c2125f97897.tar.zst freebsd-ports-graphics-40b33d9f2b37c8e8dd2c387ebe579c2125f97897.zip |
Fix buggy logging code.
Submitted by: mhsin via #bsdchat
Obtained from: http://bugs.irssi.org/?do=details&task_id=509&pagenum=2
Diffstat (limited to 'irc/irssi')
-rw-r--r-- | irc/irssi/Makefile | 2 | ||||
-rw-r--r-- | irc/irssi/files/patch-src-core-log.c | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index 9e21ccb1a7c..1d81811b921 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -7,7 +7,7 @@ PORTNAME= irssi PORTVERSION= 0.8.11 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= irc MASTER_SITES= http://mirror.irssi.org/ diff --git a/irc/irssi/files/patch-src-core-log.c b/irc/irssi/files/patch-src-core-log.c new file mode 100644 index 00000000000..2d97d87deba --- /dev/null +++ b/irc/irssi/files/patch-src-core-log.c @@ -0,0 +1,15 @@ +Index: src/core/log.c +=================================================================== +--- src/core/log.c (revision 4490) ++++ src/core/log.c (revision 4491) +@@ -299,9 +299,7 @@ + if ((level & rec->level) == 0) + continue; + +- if (item == NULL) { +- if (rec->temp == 0) log_write_rec(rec, str, level); +- } else if (rec->items == NULL) ++ if (rec->items == NULL) + fallbacks = g_slist_append(fallbacks, rec); + else if (log_item_find(rec, LOG_ITEM_TARGET, item, + server_tag) != NULL) |