From: Ben Pfaff Date: Sat, 21 Aug 2010 05:26:25 +0000 (-0700) Subject: jsonrpc: Indentation fix. X-Git-Tag: v1.1.0pre1~46 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=33ff0dceb4f7c9888229081edf5031b5f8d01d55 jsonrpc: Indentation fix. --- diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index 5d394c680..22579e0a6 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;