diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index 5b2a7780..1f9dce2b 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -252,6 +252,7 @@ static LOG_REC *logs_find_item(int type, const char *item, for (tmp = logs; tmp != NULL; tmp = tmp->next) { LOG_REC *log = tmp->data; + if (type == LOG_ITEM_TARGET && log->temp == 0) continue; logitem = log_item_find(log, type, item, servertag); if (logitem != NULL) { if (ret_item != NULL) *ret_item = logitem;