From patchwork Fri Sep 16 18:27:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Pettit X-Patchwork-Id: 671026 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3sbNzl6518z9s3T for ; Sat, 17 Sep 2016 04:27:15 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 8447C109B8; Fri, 16 Sep 2016 11:27:11 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id DF889109A8 for ; Fri, 16 Sep 2016 11:27:09 -0700 (PDT) Received: from bar6.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 76B3E161433 for ; Fri, 16 Sep 2016 12:27:09 -0600 (MDT) X-ASG-Debug-ID: 1474050428-0b32372262333360001-byXFYA Received: from mx3-pf3.cudamail.com ([192.168.14.3]) by bar6.cudamail.com with ESMTP id hgrnCpDps9gs5HVl (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 16 Sep 2016 12:27:09 -0600 (MDT) X-Barracuda-Envelope-From: jpettit@ovn.org X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.3 Received: from unknown (HELO relay6-d.mail.gandi.net) (217.70.183.198) by mx3-pf3.cudamail.com with ESMTPS (DHE-RSA-AES256-SHA encrypted); 16 Sep 2016 18:27:08 -0000 Received-SPF: pass (mx3-pf3.cudamail.com: SPF record at ovn.org designates 217.70.183.198 as permitted sender) X-Barracuda-Apparent-Source-IP: 217.70.183.198 X-Barracuda-RBL-IP: 217.70.183.198 Received: from mfilter5-d.gandi.net (mfilter5-d.gandi.net [217.70.178.132]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 5F113FB881 for ; Fri, 16 Sep 2016 20:27:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter5-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter5-d.gandi.net (mfilter5-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id K1XhXxPaOYgh for ; Fri, 16 Sep 2016 20:27:04 +0200 (CEST) X-Originating-IP: 98.234.50.139 Received: from localhost.localdomain (unknown [98.234.50.139]) (Authenticated sender: jpettit@ovn.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id EE2FEFB8BC for ; Fri, 16 Sep 2016 20:27:03 +0200 (CEST) X-CudaMail-Envelope-Sender: jpettit@ovn.org From: Justin Pettit To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-V3-915032973 X-CudaMail-DTE: 091616 X-CudaMail-Originating-IP: 217.70.183.198 Date: Fri, 16 Sep 2016 11:27:00 -0700 X-ASG-Orig-Subj: [##CM-V3-915032973##][PATCH 1/3] jsonrpc: Improve comment for jsonrpc_get_status(). Message-Id: <1474050422-4330-1-git-send-email-jpettit@ovn.org> X-Mailer: git-send-email 1.9.1 X-Barracuda-Connect: UNKNOWN[192.168.14.3] X-Barracuda-Start-Time: 1474050429 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Subject: [ovs-dev] [PATCH 1/3] jsonrpc: Improve comment for jsonrpc_get_status(). X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Signed-off-by: Justin Pettit Acked-by: Ben Pfaff --- lib/jsonrpc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index 1841568..a0ade9c 100644 --- a/lib/jsonrpc.c +++ b/lib/jsonrpc.c @@ -156,11 +156,11 @@ jsonrpc_wait(struct jsonrpc *rpc) * - >0: errno value * - EOF: end of file (remote end closed connection; not necessarily an error). * - * When this functions nonzero, 'rpc' is effectively out of commission. 'rpc' - * will not receive any more messages and any further messages that one - * attempts to send with 'rpc' will be discarded. The caller can keep 'rpc' - * around as long as it wants, but it's not going to provide any more useful - * services. + * When this function returns nonzero, 'rpc' is effectively out of + * commission. 'rpc' will not receive any more messages and any further + * messages that one attempts to send with 'rpc' will be discarded. The + * caller can keep 'rpc' around as long as it wants, but it's not going + * to provide any more useful services. */ int jsonrpc_get_status(const struct jsonrpc *rpc)