Re: [ovs-dev] [PATCH v3 2/3] socket-util: error number to string for sockets.

2014-02-11 Thread Ben Pfaff
On Mon, Feb 10, 2014 at 03:25:37PM -0800, Gurucharan Shetty wrote: > For winsock2 functions, error number has to be converted to string > using FormatMessage(). > > Signed-off-by: Gurucharan Shetty The ovs_strerror() comment is particularly helpful. Thanks. Acked-by: Ben Pfaff ___

[ovs-dev] [PATCH v3 2/3] socket-util: error number to string for sockets.

2014-02-10 Thread Gurucharan Shetty
For winsock2 functions, error number has to be converted to string using FormatMessage(). Signed-off-by: Gurucharan Shetty --- lib/socket-util.c | 29 + lib/socket-util.h |2 ++ lib/util.c|4 3 files changed, 35 insertions(+) diff --git a/lib/s