From 0e71ab29db2db20160689097dcfc88220def928d Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Fri, 9 Jun 2017 22:49:38 +0000 Subject: [PATCH] fix comment --- go/pserver/cclient/test/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/pserver/cclient/test/main.c b/go/pserver/cclient/test/main.c index 63ae7aa92a6..09af316e17a 100644 --- a/go/pserver/cclient/test/main.c +++ b/go/pserver/cclient/test/main.c @@ -2,7 +2,7 @@ #include "libclient.h" -// TODO(helin): fix: gtest using cmake is not working, using this +// TODO(helin): Fix: gtest using cmake is not working, using this // hacky way for now. #define fail() \ fprintf(stderr, "info: %s:%d: ", __FILE__, __LINE__); \ @@ -25,7 +25,7 @@ void getParams(paddle_pserver_client c) { paddle_parameter param_b; char name_a[] = "param_a"; char name_b[] = "param_b"; - // must pre-allocate the content for parameter to receive. + // Must pre-allocate the prameter content before calling paddle_get_params. unsigned char content_a[2000] = {}; unsigned char content_b[3000] = {}; param_a.element_type = PADDLE_ELEMENT_TYPE_FLOAT32; -- GitLab