Fix crash in log filter when record syntax is omitted MP-613
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 20 May 2015 13:38:19 +0000 (15:38 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 20 May 2015 13:38:19 +0000 (15:38 +0200)
src/filter_log.cpp

index 2035b09..4db9942 100644 (file)
@@ -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 " ",