1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1239 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-18 00:11:23 +00:00 committed by cras
parent 0d4d9204a9
commit b0178d7248

View File

@ -247,7 +247,7 @@ void log_file_write(SERVER_REC *server, const char *item, int level,
const char *str, int no_fallbacks)
{
GSList *tmp, *fallbacks;
char *tmpstr;
char *tmpstr, *servertag;
int found;
g_return_if_fail(str != NULL);
@ -255,6 +255,7 @@ void log_file_write(SERVER_REC *server, const char *item, int level,
if (logs == NULL)
return;
servertag = server == NULL ? NULL : server->tag;
fallbacks = NULL; found = FALSE;
for (tmp = logs; tmp != NULL; tmp = tmp->next) {
@ -270,7 +271,7 @@ void log_file_write(SERVER_REC *server, const char *item, int level,
fallbacks = g_slist_append(fallbacks, rec);
else if (item != NULL &&
log_item_find(rec, LOG_ITEM_TARGET, item,
server->tag) != NULL)
servertag) != NULL)
log_write_rec(rec, str, level);
}