You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/12/01 06:45:15 UTC
[incubator-nuttx-apps] 03/03: netutils/chat/chat.c: Avoid assumping
debug macro expansion
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit ab83a12cffc93018786959b1d1d4023c784c4425
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Dec 1 14:10:24 2020 +0900
netutils/chat/chat.c: Avoid assumping debug macro expansion
---
netutils/chat/chat.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c
index 2e883ed..2a319f6 100644
--- a/netutils/chat/chat.c
+++ b/netutils/chat/chat.c
@@ -682,7 +682,9 @@ static int chat_script_run(FAR struct chat *priv)
}
}
+#ifdef CONFIG_DEBUG_INFO
_info("Script result %d, exited on line %d\n", ret, line_num);
+#endif
return ret;
}