Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rdist remove unused
details: https://anonhg.NetBSD.org/src/rev/4d85ac596763
branches: trunk
changeset: 790639:4d85ac596763
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 18 20:41:49 2013 +0000
description:
remove unused
diffstat:
usr.bin/rdist/server.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r d12bc6b670bb -r 4d85ac596763 usr.bin/rdist/server.c
--- a/usr.bin/rdist/server.c Fri Oct 18 20:40:15 2013 +0000
+++ b/usr.bin/rdist/server.c Fri Oct 18 20:41:49 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: server.c,v 1.31 2009/04/13 04:35:36 lukem Exp $ */
+/* $NetBSD: server.c,v 1.32 2013/10/18 20:41:49 christos Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)server.c 8.1 (Berkeley) 6/9/93";
#else
-__RCSID("$NetBSD: server.c,v 1.31 2009/04/13 04:35:36 lukem Exp $");
+__RCSID("$NetBSD: server.c,v 1.32 2013/10/18 20:41:49 christos Exp $");
#endif
#endif /* not lint */
@@ -748,7 +748,7 @@
recvf(char *cmd, int type)
{
char *cp = cmd;
- int f = -1, opts = 0, wrerr, olderrno;
+ int f = -1, opts = 0, wrerr;
mode_t mode;
off_t i, size;
time_t mtime;
@@ -924,7 +924,6 @@
if (i + amt > size)
amt = size - i;
if (wrerr == 0 && write(f, buf, amt) != amt) {
- olderrno = errno;
wrerr++;
}
}
Home |
Main Index |
Thread Index |
Old Index