changeset 25306:192b1d7dcfb0

Fix my wrong code in r25530.
author ulion
date Mon, 10 Dec 2007 11:08:27 +0000
parents 9e41b6f16189
children 46ae8efba443
files libaf/af.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_ERROR<new->control(new,AF_CONTROL_COMMAND_LINE,cmdline))
+      if(AF_ERROR>=new->control(new,AF_CONTROL_COMMAND_LINE,cmdline))
         goto err_out;
     }
     free(name);