comparison libaf/af.c @ 25306:192b1d7dcfb0

Fix my wrong code in r25530.
author ulion
date Mon, 10 Dec 2007 11:08:27 +0000
parents 701de923a20d
children b265c001e64a
comparison
equal deleted inserted replaced
25305:9e41b6f16189 25306:192b1d7dcfb0
136 136
137 // Initialize the new filter 137 // Initialize the new filter
138 if(AF_OK == new->info->open(new) && 138 if(AF_OK == new->info->open(new) &&
139 AF_ERROR < new->control(new,AF_CONTROL_POST_CREATE,&s->cfg)){ 139 AF_ERROR < new->control(new,AF_CONTROL_POST_CREATE,&s->cfg)){
140 if(cmdline){ 140 if(cmdline){
141 if(!AF_ERROR<new->control(new,AF_CONTROL_COMMAND_LINE,cmdline)) 141 if(AF_ERROR>=new->control(new,AF_CONTROL_COMMAND_LINE,cmdline))
142 goto err_out; 142 goto err_out;
143 } 143 }
144 free(name); 144 free(name);
145 return new; 145 return new;
146 } 146 }