]> git.sur5r.net Git - openocd/commit
Remove unneeded zero termination of received packet
authorChristian Eggers <ceggers@gmx.de>
Mon, 3 Feb 2014 19:13:54 +0000 (20:13 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Mar 2014 20:15:36 +0000 (20:15 +0000)
commit6fcaa4ae8f78790da8d3fbe05d87c355082febb4
treea2997364eadb9d26e85318e32dac896f163dbf2c
parentd0507207ab91153622a053795336cce232cb3be9
Remove unneeded zero termination of received packet

v2:
  removed curly braces around single statement if-block

packet[] has already been zero terminated in gdb_input_inner()
This change is necessary in order to make packet[] "const".

Change-Id: I978bbe52d151a63574db77fb747f596da256d377
Signed-off-by: Christian Eggers <ceggers@gmx.de>
Reviewed-on: http://openocd.zylin.com/1922
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/server/gdb_server.c