libscpi/src/parser.c
@@ -180,11 +180,14 @@ * @param context * @result TRUE if context->paramlist is filled with correct values */ static scpi_bool_t findCommandHeader(scpi_t * context, const char * header, int len) { static scpi_bool_t findCommandHeader(scpi_t * context, const char * header, int len) { int32_t i; const scpi_command_t * cmd = NULL; for (i = 0; i<context->cmdlistSize; i++) { cmd = &context->cmdlist[i]; bool result =test_match(cmd->pattern, header); if(result) {