diff options
author | Ben Pfaff <blp@nicira.com> | 2010-08-20 22:26:25 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-08-25 14:55:47 -0700 |
commit | 33ff0dceb4f7c9888229081edf5031b5f8d01d55 (patch) | |
tree | f863b01f065c19c33057ced105a0203b87978d59 /lib/jsonrpc.c | |
parent | 294e9fc859f87578be6e944a599b5c4af841e7d3 (diff) |
jsonrpc: Indentation fix.
Diffstat (limited to 'lib/jsonrpc.c')
-rw-r--r-- | lib/jsonrpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |