ftpc_transfer.c:667:15: Fix error: ‘argc’ undeclared

forget in commit efeb1d10b1

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I93a99e909dac57821366f7b522404e673fbcd9d8
This commit is contained in:
Xiang Xiao 2020-08-15 13:30:49 +08:00 committed by Abdelatif Guettouche
parent aaa198f08c
commit e71e537e24

View file

@ -664,7 +664,7 @@ void ftpc_timeout(wdparm_t arg)
FAR struct ftpc_session_s *session = (FAR struct ftpc_session_s *)arg;
nerr("ERROR: Timeout!\n");
DEBUGASSERT(argc == 1 && session);
DEBUGASSERT(session);
kill(session->pid, CONFIG_FTP_SIGNAL);
}