[ovs-git] Open vSwitch: util: New ovs_retval_to_string() function. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jan 31 01:55:39 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  c18ea70d06e980dc768166881c5aeac0b3491561 (commit)
      from  8ce41058990860158a4b9d31b52de46558eee6a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c18ea70d06e980dc768166881c5aeac0b3491561
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c18ea70d06e980dc768166881c5aeac0b3491561
Author: Andrew Evans <aevans at nicira.com>
		
util: New ovs_retval_to_string() function.
		
Many OVS functions return 0, EOF, or errno. There are several places in the
codebase where a return value is converted to a string. All must decide whether
the return value is set, and if it is, whether it is an errno value, EOF, or
otherwise invalid. This commit consolidates that code.

Reviewed by Ben Pfaff.


-----------------------------------------------------------------------

Summary of changes:
 lib/jsonrpc.c     |    6 ++++++
 lib/ovsdb-error.c |    1 -
 lib/pcap.c        |    7 +++----
 lib/util.c        |   33 +++++++++++++++++++++++++++++----
 lib/util.h        |    1 +
 ofproto/ofproto.c |    7 ++-----
 6 files changed, 41 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list