[ovs-dev] [PATCH 4/8] jsonrpc: Indentation fix.

Ben Pfaff blp at nicira.com
Mon Aug 23 19:19:53 UTC 2010


---
 lib/jsonrpc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
index 5d394c6..22579e0 100644
--- a/lib/jsonrpc.c
+++ b/lib/jsonrpc.c
@@ -903,8 +903,8 @@ jsonrpc_session_recv(struct jsonrpc_session *s)
                 reply = jsonrpc_create_reply(json_clone(msg->params), msg->id);
                 jsonrpc_session_send(s, reply);
             } else if (msg->type == JSONRPC_REPLY
-                && msg->id && msg->id->type == JSON_STRING
-                && !strcmp(msg->id->u.string, "echo")) {
+                       && msg->id && msg->id->type == JSON_STRING
+                       && !strcmp(msg->id->u.string, "echo")) {
                 /* It's a reply to our echo request.  Suppress it. */
             } else {
                 return msg;
-- 
1.7.1





More information about the dev mailing list