@ -80,8 +80,10 @@ static int __term_alarm_conv(ccodec_t cc, struct ccodec_term *cct)
if (cct->alarm_str[len] == 0)
break;
if (len <= 0) /* no message */
if (len <= 0) { /* no message */
cct->status = ts_idle; //20171214: status must reset idle
return 0;
}
op = (char*)(buf + idx + 2);
#ifdef ENABLE_UTF8