You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/10/06 03:15:58 UTC

[GitHub] forgithub123 commented on a change in pull request #197: Fix the wrong way to detect the trailing space

forgithub123 commented on a change in pull request #197: Fix the wrong way to detect the trailing space
URL: https://github.com/apache/mynewt-nimble/pull/197#discussion_r223169970
 
 

 ##########
 File path: nimble/host/mesh/src/prov.c
 ##########
 @@ -1385,6 +1385,8 @@ static void gen_prov_start(struct prov_rx *rx, struct os_mbuf *buf)
 		gen_prov_ack_send(rx->xact_id);
 		return;
 	}
+	
+	u16_t trailing_space = OS_MBUF_TRAILINGSPACE(link.rx.buf);
 
 Review comment:
   Thanks for your comments, I will add the comments to the commit message.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services