examples/ip_pipeline: fix copy-paste error
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 11 Dec 2015 11:29:08 +0000 (11:29 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Dec 2015 01:35:40 +0000 (02:35 +0100)
Coverity issue: 107104
Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
examples/ip_pipeline/config_parse.c

index 67e58c9..dbeb3a9 100644 (file)
@@ -2398,7 +2398,7 @@ save_pipeline_params(struct app_params *app, FILE *f)
                }
 
                /* msgq_out */
-               if (p->n_msgq_in) {
+               if (p->n_msgq_out) {
                        uint32_t j;
 
                        fprintf(f, "msgq_out =");