From: Ben Pfaff Date: Sat, 21 Aug 2010 05:26:25 +0000 (-0700) Subject: jsonrpc: Indentation fix. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ff0dceb4f7c9888229081edf5031b5f8d01d55;p=openvswitch jsonrpc: Indentation fix. --- diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index 5d394c68..22579e0a 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;