# HG changeset patch # User ulion # Date 1197284907 0 # Node ID 192b1d7dcfb0f9d49673fdcff31dd11ab1c0ed87 # Parent 9e41b6f16189588e99507495335985e7fe04bfaf Fix my wrong code in r25530. diff -r 9e41b6f16189 -r 192b1d7dcfb0 libaf/af.c --- a/libaf/af.c Mon Dec 10 10:27:14 2007 +0000 +++ b/libaf/af.c Mon Dec 10 11:08:27 2007 +0000 @@ -138,7 +138,7 @@ if(AF_OK == new->info->open(new) && AF_ERROR < new->control(new,AF_CONTROL_POST_CREATE,&s->cfg)){ if(cmdline){ - if(!AF_ERRORcontrol(new,AF_CONTROL_COMMAND_LINE,cmdline)) + if(AF_ERROR>=new->control(new,AF_CONTROL_COMMAND_LINE,cmdline)) goto err_out; } free(name);