You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/04/06 21:15:41 UTC

[3/4] incubator-mynewt-core git commit: Reset has_objects flag while setting up state

Reset has_objects flag while setting up state


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/e7baf9c8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/e7baf9c8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/e7baf9c8

Branch: refs/heads/develop
Commit: e7baf9c82bd335c34d8ff82c836c74b977301e2d
Parents: f0bf15b
Author: Vipul Rahane <vi...@runtime.io>
Authored: Wed Apr 6 12:07:43 2016 -0700
Committer: Vipul Rahane <vi...@runtime.io>
Committed: Wed Apr 6 12:07:43 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e7baf9c8/libs/newtmgr/src/newtmgr.c
----------------------------------------------------------------------
diff --git a/libs/newtmgr/src/newtmgr.c b/libs/newtmgr/src/newtmgr.c
index 7ba1d11..a2a9df1 100644
--- a/libs/newtmgr/src/newtmgr.c
+++ b/libs/newtmgr/src/newtmgr.c
@@ -355,6 +355,7 @@ nmgr_jbuf_setibuf(struct nmgr_jbuf *njb, struct os_mbuf *m,
     njb->njb_off = off;
     njb->njb_end = off + len;
     njb->njb_in_m = m;
+    njb->njb_enc.je_has_objects = 0;
 
     return (0);
 }