changeset 141:c8688d7d6382

fix for the problem that an indefinite recording quits immediately.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 01 Oct 2013 16:36:12 +0900
parents c9b1d21c5035
children 1e7718cc2556
files recpt1/recpt1core.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/recpt1/recpt1core.c	Thu Apr 25 16:06:15 2013 +0900
+++ b/recpt1/recpt1core.c	Tue Oct 01 16:36:12 2013 +0900
@@ -297,6 +297,7 @@
     /* indefinite */
     if(!strcmp("-", rectimestr)) {
         *recsec = -1;
+        return 0;
     }
     /* colon */
     else if(strchr(rectimestr, ':')) {