--- afd-1.3.2/src/common/pmatch.c 2006-03-29 12:48:50.000000000 +0200 +++ afd/src/common/pmatch.c 2006-05-14 11:52:37.000000000 +0200 @@ -291,7 +291,7 @@ { time_t time_buf; - time_buf = time(NULL); + time_buf = check_time; if (time_modifier > 0) { @@ -499,6 +499,7 @@ wptr++; rptr++; } } + *wptr = '\0'; } return; }