From: Antonio Borneo Date: Sat, 19 Dec 2020 15:15:54 +0000 (+0100) Subject: gdb_server: minor fix for indentation X-Git-Tag: v0.11.0-rc2~27 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=7f74906c2d18a2347ec392f9a457963bff3f25b8 gdb_server: minor fix for indentation Use a TAB in place of 4 spaces Change-Id: Ic34b7c3ef24078d2c36a193d4dd079bca5a7ef2e Signed-off-by: Antonio Borneo Fixes: a4cdce0129a6 ("gdb_server: prevent false positive valgrind report") Reviewed-on: http://openocd.zylin.com/5982 Tested-by: jenkins Reviewed-by: Jonathan McDowell --- diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 792bbdceaa..c1e90a04ae 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -2516,7 +2516,7 @@ static int gdb_get_thread_list_chunk(struct target *target, char **thread_list, transfer_type = 'l'; *chunk = malloc(length + 2 + 3); - /* Allocating extra 3 bytes prevents false positive valgrind report + /* Allocating extra 3 bytes prevents false positive valgrind report * of strlen(chunk) word access: * Invalid read of size 4 * Address 0x4479934 is 44 bytes inside a block of size 45 alloc'd */