diff options
Diffstat (limited to 'apps/system/zmodem/zm_state.c')
-rw-r--r-- | apps/system/zmodem/zm_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/system/zmodem/zm_state.c b/apps/system/zmodem/zm_state.c index fb12569ea..3aaa461b7 100644 --- a/apps/system/zmodem/zm_state.c +++ b/apps/system/zmodem/zm_state.c @@ -784,10 +784,10 @@ static int zm_parse(FAR struct zm_state_s *pzm, size_t rcvlen) { if (++pzm->ncan >= 5) { - zmdbg("Remote end has cancelled"); + zmdbg("Remote end has canceled\n"); pzm->rcvlen = 0; pzm->rcvndx = 0; - return -EAGAIN; + return zm_event(pzm, ZME_CANCEL); } } else |