diff --git a/go/pserver/cclient/test/main.c b/go/pserver/cclient/test/main.c index 63ae7aa92a6fa0e4238cfada57a2658419c48da5..09af316e17abf71c5dc3586b020f454d1d880f41 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;