X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fexim_monitor%2Fem_log.c;h=73aa0e56759c66fb0243b8c2773dabc8bfa4971e;hb=1b7cf216d933b395dee691f05becca4dd44b26f7;hp=4d8c29312e28290a378979de6593618473732015;hpb=6e3b198d9efa70de98409fbb78b9f83257b2101c;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/exim_monitor/em_log.c b/src/exim_monitor/em_log.c index 4d8c29312..73aa0e567 100644 --- a/src/exim_monitor/em_log.c +++ b/src/exim_monitor/em_log.c @@ -2,7 +2,7 @@ * Exim Monitor * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2014 */ +/* Copyright (c) University of Cambridge 1995 - 2016 */ /* See the file NOTICE for conditions of use and distribution. */ /* This module contains code for scanning the main log, @@ -281,12 +281,8 @@ if (LOG != NULL) if (strstric(buffer, US"frozen", FALSE) != NULL) { queue_item *qq = find_queue(id, queue_noop, 0); - if (qq != NULL) - { - if (strstric(buffer, US"unfrozen", FALSE) != NULL) - qq->frozen = FALSE; - else qq->frozen = TRUE; - } + if (qq) + qq->frozen = strstric(buffer, US"unfrozen", FALSE) == NULL; } /* Notice defer messages, and add the destination if it