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/09 15:14:54 UTC

[11/13] incubator-mynewt-core git commit: newtmgr; bugfix: all newtmgr id's were changed to zero.

newtmgr; bugfix: all newtmgr id's were changed to zero.


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

Branch: refs/heads/develop
Commit: 7546afcea1626724421b0a97018080d08a0a755c
Parents: d9cb470
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed May 4 12:04:13 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon May 9 08:04:50 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/7546afce/libs/newtmgr/src/newtmgr.c
----------------------------------------------------------------------
diff --git a/libs/newtmgr/src/newtmgr.c b/libs/newtmgr/src/newtmgr.c
index ee6066f..2e27f53 100644
--- a/libs/newtmgr/src/newtmgr.c
+++ b/libs/newtmgr/src/newtmgr.c
@@ -413,7 +413,6 @@ nmgr_handle_req(struct nmgr_transport *nt, struct os_mbuf *req)
 
         hdr.nh_len = ntohs(hdr.nh_len);
         hdr.nh_group = ntohs(hdr.nh_group);
-        hdr.nh_id = ntohs(hdr.nh_id);
 
         handler = nmgr_find_handler(hdr.nh_group, hdr.nh_id);
         if (!handler) {