Return-Path: X-Original-To: apmail-mynewt-commits-archive@minotaur.apache.org Delivered-To: apmail-mynewt-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73DA418F8B for ; Tue, 5 Jan 2016 23:14:52 +0000 (UTC) Received: (qmail 46334 invoked by uid 500); 5 Jan 2016 23:14:52 -0000 Delivered-To: apmail-mynewt-commits-archive@mynewt.apache.org Received: (qmail 46302 invoked by uid 500); 5 Jan 2016 23:14:52 -0000 Mailing-List: contact commits-help@mynewt.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mynewt.incubator.apache.org Delivered-To: mailing list commits@mynewt.incubator.apache.org Received: (qmail 46291 invoked by uid 99); 5 Jan 2016 23:14:52 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2016 23:14:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AD1B51801DA for ; Tue, 5 Jan 2016 23:14:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.227 X-Spam-Level: * X-Spam-Status: No, score=1.227 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id y_xVZZ5HpW0s for ; Tue, 5 Jan 2016 23:14:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 6CC0731A94 for ; Tue, 5 Jan 2016 23:14:44 +0000 (UTC) Received: (qmail 45658 invoked by uid 99); 5 Jan 2016 23:14:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2016 23:14:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3D94BE00B1; Tue, 5 Jan 2016 23:14:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ccollins@apache.org To: commits@mynewt.incubator.apache.org Date: Tue, 05 Jan 2016 23:14:43 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/4] incubator-mynewt-larva git commit: Fix some host test project bugs. Repository: incubator-mynewt-larva Updated Branches: refs/heads/master 2fdc71732 -> 6545cc0bb Fix some host test project bugs. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/commit/2d071909 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/tree/2d071909 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/diff/2d071909 Branch: refs/heads/master Commit: 2d0719090a76697e9955469544bd9111c40200d5 Parents: 2fdc717 Author: Christopher Collins Authored: Tue Jan 5 11:47:42 2016 -0800 Committer: Christopher Collins Committed: Tue Jan 5 11:47:42 2016 -0800 ---------------------------------------------------------------------- project/centtest/src/main.c | 2 +- project/prphtest/src/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/2d071909/project/centtest/src/main.c ---------------------------------------------------------------------- diff --git a/project/centtest/src/main.c b/project/centtest/src/main.c index 42d247f..3b15657 100755 --- a/project/centtest/src/main.c +++ b/project/centtest/src/main.c @@ -181,7 +181,7 @@ centtest_print_adv_rpt(struct ble_gap_conn_adv_rpt *adv) console_printf(" flags=0x%02x\n", adv->fields.flags); console_printf(" name="); console_write((char *)adv->fields.name, adv->fields.name_len); - console_printf("%s\n"); + console_printf("\n"); } static void http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/2d071909/project/prphtest/src/main.c ---------------------------------------------------------------------- diff --git a/project/prphtest/src/main.c b/project/prphtest/src/main.c index 92841af..b2a6cb0 100755 --- a/project/prphtest/src/main.c +++ b/project/prphtest/src/main.c @@ -241,6 +241,7 @@ prphtest_task_handler(void *arg) prphtest_register_attrs(); + memset(&fields, 0, sizeof fields); fields.name = (uint8_t *)"nimble"; fields.name_len = 6; fields.name_is_complete = 1;