From 743bd6c9175c472814448ea889413be79dfd1c07 Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Tue, 13 Jan 2015 10:36:21 -0500 Subject: [PATCH] Fix RPC command logrotate to return a Json object. --- src/ripple/rpc/handlers/LogRotate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/rpc/handlers/LogRotate.cpp b/src/ripple/rpc/handlers/LogRotate.cpp index c95417f7d..e7dd9d468 100644 --- a/src/ripple/rpc/handlers/LogRotate.cpp +++ b/src/ripple/rpc/handlers/LogRotate.cpp @@ -23,7 +23,7 @@ namespace ripple { Json::Value doLogRotate (RPC::Context& context) { - return deprecatedLogs().rotate(); + return RPC::makeObjectValue (deprecatedLogs().rotate()); } } // ripple