You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/05/19 22:00:24 UTC

[10/12] incubator-mynewt-core git commit: Adding the assert back for newtmgr

Adding the assert back for newtmgr


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/39967d52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/39967d52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/39967d52

Branch: refs/heads/develop
Commit: 39967d52b5cfcd9fcb5bacab40cbe81078eee5dc
Parents: d3212db
Author: Vipul Rahane <vi...@runtime.io>
Authored: Tue May 17 12:37:11 2016 -0700
Committer: Vipul Rahane <vi...@runtime.io>
Committed: Tue May 17 12:37:11 2016 -0700

----------------------------------------------------------------------
 libs/newtmgr/src/newtmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/39967d52/libs/newtmgr/src/newtmgr.c
----------------------------------------------------------------------
diff --git a/libs/newtmgr/src/newtmgr.c b/libs/newtmgr/src/newtmgr.c
index f908bde..c3bc614 100644
--- a/libs/newtmgr/src/newtmgr.c
+++ b/libs/newtmgr/src/newtmgr.c
@@ -323,7 +323,7 @@ nmgr_jbuf_write(void *arg, char *data, int len)
 
     rc = nmgr_rsp_extend(njb->njb_hdr, njb->njb_out_m, data, len);
     if (rc != 0) {
-        /*VVV: assert(0);*/
+        assert(0);
         goto err;
     }