Module Name:    src
Committed By:   christos
Date:           Wed May 28 14:45:20 UTC 2014

Modified Files:
        src/lib/libc/rpc: clnt_generic.c

Log Message:
CID 975113: Ignore __rpc_setnodelay error, it is not fatal


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/libc/rpc/clnt_generic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/rpc/clnt_generic.c
diff -u src/lib/libc/rpc/clnt_generic.c:1.32 src/lib/libc/rpc/clnt_generic.c:1.33
--- src/lib/libc/rpc/clnt_generic.c:1.32	Wed May 28 10:41:47 2014
+++ src/lib/libc/rpc/clnt_generic.c	Wed May 28 10:45:19 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: clnt_generic.c,v 1.32 2014/05/28 14:41:47 christos Exp $	*/
+/*	$NetBSD: clnt_generic.c,v 1.33 2014/05/28 14:45:19 christos Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)clnt_generic.c 1.32 89/03/16 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_generic.c,v 1.32 2014/05/28 14:41:47 christos Exp $");
+__RCSID("$NetBSD: clnt_generic.c,v 1.33 2014/05/28 14:45:19 christos Exp $");
 #endif
 #endif
 
@@ -343,7 +343,7 @@ clnt_tli_create(
 		cl = clnt_vc_create(fd, svcaddr, prog, vers, sendsz, recvsz);
 		if (!nconf || !cl)
 			break;
-		__rpc_setnodelay(fd, &si);
+		(void)__rpc_setnodelay(fd, &si);
 		break;
 	case NC_TPI_CLTS:
 		cl = clnt_dg_create(fd, svcaddr, prog, vers, sendsz, recvsz);

Reply via email to