fixed bug
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 28 May 2001 03:35:34 +0000 (03:35 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 28 May 2001 03:35:34 +0000 (03:35 +0000)
lib/cmd.c

index 82fbe9adbf5c0a104c81372e4e2495d4fd77ea35..9ff0ff3aed1f84994abf6ab0db8681d5b3a8cd6b 100644 (file)
--- a/lib/cmd.c
+++ b/lib/cmd.c
@@ -43,7 +43,7 @@ int comedi_get_cmd_generic_timed(comedi_t *it,unsigned int s,comedi_cmd *cmd)
        }else if(cmd->start_src&TRIG_FOLLOW){
                cmd->start_src=TRIG_FOLLOW;
                cmd->start_arg=0;
-       }
+       }else{
                /* hmmm... don't know what to do */
                return -1;
        }