Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/nvi/dist/ip CID 1132761: Remove dead code.
details: https://anonhg.NetBSD.org/src/rev/0078316fabb6
branches: trunk
changeset: 791669:0078316fabb6
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 27 20:44:56 2013 +0000
description:
CID 1132761: Remove dead code.
diffstat:
external/bsd/nvi/dist/ip/ip_read.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 3ab61e112553 -r 0078316fabb6 external/bsd/nvi/dist/ip/ip_read.c
--- a/external/bsd/nvi/dist/ip/ip_read.c Wed Nov 27 20:40:48 2013 +0000
+++ b/external/bsd/nvi/dist/ip/ip_read.c Wed Nov 27 20:44:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_read.c,v 1.4 2013/11/27 20:37:29 christos Exp $ */
+/* $NetBSD: ip_read.c,v 1.5 2013/11/27 20:44:56 christos Exp $ */
/*-
* Copyright (c) 1996
* Keith Bostic. All rights reserved.
@@ -232,8 +232,7 @@
poll.tv_usec = 0;
if (tp != NULL) {
FD_SET(fd, &rdfd);
- switch (select(fd + 1,
- &rdfd, NULL, NULL, tp == NULL ? &poll : tp)) {
+ switch (select(fd + 1, &rdfd, NULL, NULL, tp)) {
case 0:
return (INP_TIMEOUT);
case -1:
Home |
Main Index |
Thread Index |
Old Index