From: gn64_jp Date: Fri, 17 Feb 2012 14:57:17 +0000 (+0000) Subject: fix tunerec X-Git-Url: http://git.osdn.net/view?p=rec10%2Frec10-git.git;a=commitdiff_plain;h=a21c68e0d9ddad74502317ddf6144f05c478c776 fix tunerec git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@925 4e526526-5e11-4fc0-8910-f8fd03428081 --- diff --git a/tunerec/tunerec.c b/tunerec/tunerec.c index 7571c6e..a42c146 100755 --- a/tunerec/tunerec.c +++ b/tunerec/tunerec.c @@ -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};