From commits-return-8362-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Wed Apr 29 06:47:08 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2837F180654 for ; Wed, 29 Apr 2020 08:47:08 +0200 (CEST) Received: (qmail 58452 invoked by uid 500); 29 Apr 2020 06:47:07 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 58443 invoked by uid 99); 29 Apr 2020 06:47:07 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2020 06:47:07 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 76F9B819F2; Wed, 29 Apr 2020 06:47:07 +0000 (UTC) Date: Wed, 29 Apr 2020 06:47:07 +0000 To: "commits@nuttx.apache.org" Subject: [incubator-nuttx-apps] branch master updated: nshlib/nsh_telnetd.c: Print the end line of the MOTD correctly. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158814282740.7081.16719841520523568940@gitbox.apache.org> From: xiaoxiang@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-nuttx-apps X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c98960cbf4e47ed7065c3ad3c8e618cbfb820d16 X-Git-Newrev: 679896328daa08a7a9be5769c4377c560485e2f5 X-Git-Rev: 679896328daa08a7a9be5769c4377c560485e2f5 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new 6798963 nshlib/nsh_telnetd.c: Print the end line of the MOTD correctly. 6798963 is described below commit 679896328daa08a7a9be5769c4377c560485e2f5 Author: Ouss4 AuthorDate: Wed Apr 29 05:33:15 2020 +0100 nshlib/nsh_telnetd.c: Print the end line of the MOTD correctly. --- nshlib/nsh_telnetd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nshlib/nsh_telnetd.c b/nshlib/nsh_telnetd.c index 057175c..9105e23 100644 --- a/nshlib/nsh_telnetd.c +++ b/nshlib/nsh_telnetd.c @@ -116,12 +116,12 @@ static int nsh_telnetmain(int argc, char *argv[]) /* Output the platform message of the day */ platform_motd(vtbl->iobuffer, IOBUFFERSIZE); - fprintf(pstate->cn_outstream, "%s/n", vtbl->iobuffer); + fprintf(pstate->cn_outstream, "%s\n", vtbl->iobuffer); # else /* Output the fixed message of the day */ - fprintf(pstate->cn_outstream, "%s/n", g_nshmotd); + fprintf(pstate->cn_outstream, "%s\n", g_nshmotd); # endif #endif