From: Adam Dickmeiss Date: Wed, 20 May 2015 13:38:19 +0000 (+0200) Subject: Fix crash in log filter when record syntax is omitted MP-613 X-Git-Tag: v1.8.9~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=ec10d7e2b6a8c70bbee3848b6b07891432d3f12b;p=metaproxy-moved-to-github.git Fix crash in log filter when record syntax is omitted MP-613 --- diff --git a/src/filter_log.cpp b/src/filter_log.cpp index 2035b09..4db9942 100644 --- a/src/filter_log.cpp +++ b/src/filter_log.cpp @@ -326,7 +326,6 @@ static void log_1line_Z_APDU(Z_APDU *z_req, Z_APDU *z_res, WRBUF w) res->records->u.multipleNonSurDiagnostics->diagRecs); } wrbuf_puts(w, " "); - assert(req->preferredRecordSyntax); log_syntax(w, req->preferredRecordSyntax); wrbuf_printf(w, " %s " ODR_INT_PRINTF "+" ODR_INT_PRINTF " ",