OSDN Git Service

fix tunerec
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 17 Feb 2012 14:57:17 +0000 (14:57 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 17 Feb 2012 14:57:17 +0000 (14:57 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@925 4e526526-5e11-4fc0-8910-f8fd03428081

tunerec/tunerec.c

index 7571c6e..a42c146 100755 (executable)
@@ -172,7 +172,7 @@ int main(int argc, char *argv[]) {
        if (argc >= 4){
                channel_id = strtol(argv[3], NULL, 10);
        }
-       if ( argc == 5 ) {
+       if ( argc >= 5 ) {
                rectime = atoi(argv[4]);
        }
        struct channel ch1 ={0,"",channel_freq,channel_id};