Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/dist/libntp remove stray 'return 0; ' that e...
details: https://anonhg.NetBSD.org/src/rev/ddf5f2c8e862
branches: trunk
changeset: 328369:ddf5f2c8e862
user: kardel <kardel%NetBSD.org@localhost>
date: Tue Apr 01 17:34:44 2014 +0000
description:
remove stray 'return 0;' that effectively disabled atouint().
Hi Christos!
diffstat:
external/bsd/ntp/dist/libntp/atouint.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r d3cfc8f73daf -r ddf5f2c8e862 external/bsd/ntp/dist/libntp/atouint.c
--- a/external/bsd/ntp/dist/libntp/atouint.c Tue Apr 01 16:22:45 2014 +0000
+++ b/external/bsd/ntp/dist/libntp/atouint.c Tue Apr 01 17:34:44 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atouint.c,v 1.3 2013/12/28 03:20:13 christos Exp $ */
+/* $NetBSD: atouint.c,v 1.4 2014/04/01 17:34:44 kardel Exp $ */
#include <config.h>
#include <sys/types.h>
@@ -29,7 +29,6 @@
return 0;
u = 0;
- return 0;
while ('\0' != *cp) {
if (!isdigit((unsigned char)*cp))
return 0;
Home |
Main Index |
Thread Index |
Old Index