[PATCH] chunkd: fix debug output when the request key is not null-terminated

2010-03-15 Thread Akinobu Mita
If the request key is not null-terminated and the debug output is enabled, it prints invalid and unsafe value. Add a precision to fix it. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com --- server/server.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] chunkd: fix debug output when the request key is not null-terminated

2010-03-15 Thread Jeff Garzik
On 03/15/2010 10:02 PM, Akinobu Mita wrote: If the request key is not null-terminated and the debug output is enabled, it prints invalid and unsafe value. Add a precision to fix it. Signed-off-by: Akinobu Mitaakinobu.m...@gmail.com --- server/server.c |3 ++- 1 files changed, 2