- Extended test for cachedb serve expired.

This commit is contained in:
W.C.A. Wijngaards
2024-04-10 13:08:23 +02:00
parent b990be88ef
commit bd74a32b79
5 changed files with 120 additions and 3 deletions
+7
View File
@@ -355,6 +355,13 @@ replay_moment_read(char* remain, FILE* in, const char* name,
strip_end_white(remain);
mom->string = strdup(remain);
if(!mom->string) fatal_exit("out of memory");
} else if(parse_keyword(&remain, "EXPIRE_MESSAGE")) {
mom->evt_type = repevt_expire_message;
while(isspace((unsigned char)*remain))
remain++;
strip_end_white(remain);
mom->string = strdup(remain);
if(!mom->string) fatal_exit("out of memory");
} else {
log_err("%d: unknown event type %s", pstate->lineno, remain);
free(mom);