aboutsummaryrefslogtreecommitdiffstats
path: root/slobrok
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2016-10-07 12:47:20 +0200
committerArne H Juul <arnej@yahoo-inc.com>2016-10-07 12:47:20 +0200
commit996f9f9156a86e7bb7782fbfcb93de321a547012 (patch)
tree8c77273e7a001c00c705185980156d71e9c8f103 /slobrok
parent916d86c19717184ab0018462d72dc803213dd8bc (diff)
follow-up code review
Diffstat (limited to 'slobrok')
-rw-r--r--slobrok/src/tests/standalone/standalone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/slobrok/src/tests/standalone/standalone.cpp b/slobrok/src/tests/standalone/standalone.cpp
index 55081d1e0a2..7bc4c44695e 100644
--- a/slobrok/src/tests/standalone/standalone.cpp
+++ b/slobrok/src/tests/standalone/standalone.cpp
@@ -57,7 +57,7 @@ namespace {
bool checkOk(FRT_RPCRequest *req)
{
if (req == NULL) {
- fprintf(stderr, "req is null pointer, this is bad");
+ fprintf(stderr, "req is null pointer, this is bad\n");
return false;
}
if (req->IsError()) {
@@ -66,7 +66,7 @@ bool checkOk(FRT_RPCRequest *req)
req->GetErrorMessage());
fprintf(stderr, "req method is: '%s' with params:\n", req->GetMethodName());
req->GetParams()->Print();
- fflush(stdout);
+ fflush(stdout); // flushes output from Print() on previous line
return false;
} else {
return true;